PostParent.php
759 Bytes
<?php
namespace ACP\Column\Post;
use AC;
use ACP\Editing;
use ACP\Export;
use ACP\Filtering;
use ACP\Search;
use ACP\Sorting;
class PostParent extends AC\Column\Post\PostParent
implements Sorting\Sortable, Editing\Editable, Filtering\Filterable, Export\Exportable, Search\Searchable {
public function sorting() {
return new Sorting\Model\Post\PostParent();
}
public function editing() {
return new Editing\Service\Post\PostParent( $this->get_post_type() );
}
public function filtering() {
return new Filtering\Model\Post\PostParent( $this );
}
public function export() {
return new Export\Model\PostTitleFromPostId( $this );
}
public function search() {
return new Search\Comparison\Post\PostParent( $this->get_post_type() );
}
}