1 | <?php |
||
13 | class manager implements manager_interface |
||
14 | { |
||
15 | /** |
||
16 | * @var \phpbb\topicprefixes\prefixes\nestedset_prefixes |
||
17 | */ |
||
18 | protected $nestedset; |
||
19 | |||
20 | /** |
||
21 | * Listener constructor |
||
22 | * |
||
23 | * @param \phpbb\topicprefixes\prefixes\nestedset_prefixes $nestedset |
||
24 | */ |
||
25 | public function __construct(\phpbb\topicprefixes\prefixes\nestedset_prefixes $nestedset) |
||
29 | |||
30 | /** |
||
31 | * @inheritdoc |
||
32 | */ |
||
33 | public function get_prefix($id) |
||
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | public function get_prefixes($forum_id = 0) |
||
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | */ |
||
56 | public function get_active_prefixes($forum_id = 0) |
||
60 | |||
61 | /** |
||
62 | * @inheritdoc |
||
63 | */ |
||
64 | public function add_prefix($tag, $forum_id) |
||
74 | |||
75 | /** |
||
76 | * @inheritdoc |
||
77 | */ |
||
78 | public function delete_prefix($id) |
||
82 | |||
83 | /** |
||
84 | * @inheritdoc |
||
85 | */ |
||
86 | public function update_prefix($id, array $data) |
||
90 | |||
91 | /** |
||
92 | * @inheritdoc |
||
93 | */ |
||
94 | public function move_prefix($id, $direction = 'up', $amount = 1) |
||
101 | |||
102 | /** |
||
103 | * @inheritdoc |
||
104 | */ |
||
105 | public function is_enabled(array $row) |
||
109 | |||
110 | /** |
||
111 | * @inheritdoc |
||
112 | */ |
||
113 | public function prepend_prefix($prefix, $subject) |
||
122 | } |
||
123 |