1 | <?php |
||
15 | class MslsTaxonomy extends MslsContentTypes { |
||
16 | |||
17 | /** |
||
18 | * Post type |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $post_type = ''; |
||
22 | |||
23 | /** |
||
24 | * Constructor |
||
25 | */ |
||
26 | public function __construct() { |
||
40 | |||
41 | /** |
||
42 | * Check for taxonomy |
||
43 | * @return bool |
||
44 | */ |
||
45 | public function is_taxonomy() { |
||
48 | |||
49 | /** |
||
50 | * Check if the current user can manage this content type |
||
51 | * |
||
52 | * Returns name of the content type if the user has access or an empty |
||
53 | * string if the user can not access |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | public function acl_request() { |
||
69 | |||
70 | /** |
||
71 | * Get the requested post_type of the taxonomy |
||
72 | * |
||
73 | * @return string |
||
74 | */ |
||
75 | public function get_post_type() { |
||
78 | |||
79 | } |
||
80 |