1 | <?php |
||
13 | class Carbon_Breadcrumb_Locator_Date extends Carbon_Breadcrumb_Locator { |
||
14 | |||
15 | /** |
||
16 | * Whether this the items of this locator should be included in the trail. |
||
17 | * |
||
18 | * @access public |
||
19 | * |
||
20 | * @return bool $is_included Whether the found items should be included. |
||
21 | */ |
||
22 | public function is_included() { |
||
25 | |||
26 | /** |
||
27 | * Retrieve the items, found by this locator. |
||
28 | * |
||
29 | * @access public |
||
30 | * |
||
31 | * @param int $priority The priority of the located items. |
||
32 | * @param int $id Not used. |
||
33 | * @return array $items The items, found by this locator. |
||
34 | */ |
||
35 | public function get_items( $priority = 1000, $id = 0 ) { |
||
54 | |||
55 | /** |
||
56 | * Prepare the date archive conditions, with the corresponding title format and link. |
||
57 | * |
||
58 | * @access public |
||
59 | * |
||
60 | * @return array $details Date archive details. |
||
61 | */ |
||
62 | public function get_archive_item_details() { |
||
81 | |||
82 | /** |
||
83 | * Generate a set of breadcrumb items that found by this locator type and any subtype. |
||
84 | * The date archive locator has no subtypes, so this method wraps around get_items(). |
||
85 | * |
||
86 | * @access public |
||
87 | * |
||
88 | * @return array $items The items, generated by this locator. |
||
89 | */ |
||
90 | public function generate_items() { |
||
97 | |||
98 | } |
||
99 |