1 | <?php |
||
16 | class nestedset_prefixes extends \phpbb\tree\nestedset |
||
17 | { |
||
18 | /** |
||
19 | * Construct |
||
20 | * |
||
21 | * @param \phpbb\db\driver\driver_interface $db Database connection |
||
22 | * @param \phpbb\lock\db $lock Lock class used to lock the table when moving forums around |
||
23 | * @param string $table_name Table name |
||
24 | */ |
||
25 | public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\lock\db $lock, $table_name) |
||
43 | |||
44 | /** |
||
45 | * Set additional sql where restrictions to use the forum id |
||
46 | * |
||
47 | * @param int $forum_id The forum identifier |
||
48 | * @return nestedset_prefixes $this object for chaining calls |
||
49 | */ |
||
50 | public function set_forum_id($forum_id) |
||
56 | |||
57 | /** |
||
58 | * Update a nested item |
||
59 | * |
||
60 | * @param int $item_id The item identifier |
||
61 | * @param array $item_data SQL array of data to update |
||
62 | * @return mixed Number of the affected rows updated, or false |
||
63 | * @throws \OutOfBoundsException |
||
64 | */ |
||
65 | public function update_item($item_id, array $item_data) |
||
79 | } |
||
80 |