1 | <?php |
||
14 | class MslsOptionsTax extends MslsOptions { |
||
15 | |||
16 | /** |
||
17 | * Separator |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $sep = '_term_'; |
||
21 | |||
22 | /** |
||
23 | * Autoload |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $autoload = 'no'; |
||
27 | |||
28 | /** |
||
29 | * Factory method |
||
30 | * |
||
31 | * @param int $id |
||
32 | * |
||
33 | * @return MslsOptionsTax |
||
34 | */ |
||
35 | public static function create( $id = 0 ) { |
||
66 | |||
67 | /** |
||
68 | * Get the queried taxonomy |
||
69 | * @return string |
||
70 | */ |
||
71 | public function get_tax_query() { |
||
78 | |||
79 | /** |
||
80 | * Get postlink |
||
81 | * |
||
82 | * @param string $language |
||
83 | * |
||
84 | * @return string |
||
85 | */ |
||
86 | public function get_postlink( $language ) { |
||
95 | |||
96 | /** |
||
97 | * Get current link |
||
98 | * @return string |
||
99 | */ |
||
100 | public function get_current_link() { |
||
103 | |||
104 | /** |
||
105 | * Wraps the call to get_term_link |
||
106 | * |
||
107 | * @param int $term_id |
||
108 | * |
||
109 | * @return string |
||
110 | */ |
||
111 | public function get_term_link( $term_id ) { |
||
124 | |||
125 | } |
||
126 |