1 | <?php |
||
9 | class SiteMapController extends \PageController |
||
10 | { |
||
11 | /** |
||
12 | * This function will return a unordered list of all pages on the site. |
||
13 | * Watch for the switch between $page and $child in the second line of the |
||
14 | * foreach(). |
||
15 | * |
||
16 | * Note that this will only skip ErrorPage's at the top/root level of the site. |
||
17 | * If you have an ErrorPage class somewhere else in the hierarchy, it will be |
||
18 | * displayed. |
||
19 | */ |
||
20 | public function SiteMap() |
||
28 | |||
29 | private function makeList($pages) |
||
50 | } |
||
51 |