| 1 | <?php |
||
| 13 | abstract class Carbon_Breadcrumb_Locator_Hierarchical extends Carbon_Breadcrumb_Locator { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Retrieve the items, found by this locator. |
||
| 17 | * |
||
| 18 | * @access public |
||
| 19 | * |
||
| 20 | * @param int $id The object ID, used to go up the item tree. |
||
| 21 | * @param int $priority The priority of the located items. |
||
| 22 | * @return array $items The items hierarchy. |
||
| 23 | */ |
||
| 24 | public function get_item_hierarchy( $id, $priority ) { |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get the parent ID of a specific item ID |
||
| 43 | * |
||
| 44 | * @access public |
||
| 45 | * |
||
| 46 | * @param int $id The ID of the item to retrieve the parent of. |
||
| 47 | */ |
||
| 48 | abstract public function get_parent_id( $id ); |
||
| 49 | |||
| 50 | } |
||
| 51 |