diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-04-19 16:18:03 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-04-19 16:18:03 +0200 |
commit | d24ff2329fe145864712cb37ec19183bd4e21a42 (patch) | |
tree | 0d3b0a98b8d4ab2cfca2bad93e94d50781ea3223 /phpBB/includes/nestedset/interface.php | |
parent | f3ff8b36be01bf6414268d9dca0500b6c7d4f47f (diff) | |
download | forums-d24ff2329fe145864712cb37ec19183bd4e21a42.tar forums-d24ff2329fe145864712cb37ec19183bd4e21a42.tar.gz forums-d24ff2329fe145864712cb37ec19183bd4e21a42.tar.bz2 forums-d24ff2329fe145864712cb37ec19183bd4e21a42.tar.xz forums-d24ff2329fe145864712cb37ec19183bd4e21a42.zip |
[ticket/11495] Use item_id only as parameter for get_branch_data()
PHPBB3-11495
Diffstat (limited to 'phpBB/includes/nestedset/interface.php')
-rw-r--r-- | phpBB/includes/nestedset/interface.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/nestedset/interface.php b/phpBB/includes/nestedset/interface.php index 2d353544dd..c632c09dbf 100644 --- a/phpBB/includes/nestedset/interface.php +++ b/phpBB/includes/nestedset/interface.php @@ -101,19 +101,19 @@ interface phpbb_nestedset_interface * * This method can return all parents, children or both of the given item * - * @param array $item The item to get the branch from + * @param int $item_id The item id to get the parents from * @param string $type One of all|parent|children * @param bool $order_desc Order the items descending (most outer parent first) * @param bool $include_item Should the given item be included in the list aswell * @return array Array of items (containing all columns from the item table) * ID => Item data */ - public function get_branch_data(array $item, $type, $order_desc, $include_item); + public function get_branch_data($item_id, $type, $order_desc, $include_item); /** * Get base information of parent items * - * @param array $item The item to get the parents from + * @param array $item The item to get the branch from * @return array Array of items (containing basic columns from the item table) * ID => Item data */ |