Lines Matching defs:page
27 * control page will simply be ignored here
46 foreach ($pages as $page) {
47 if ($this->isActive($page['page'], $ID)) {
54 $html .= $this->navItemHTML($page);
59 if (isset($page['sub'])) {
62 foreach ($page['sub'] as $subpage) {
85 return html_wikilink($item['page'], $item['title']);
88 'href' => $item['page'],
89 'title' => $item['page'],
96 * Is the current parent page "active" depending on the second one?
99 * @param string $page
103 protected function isActive($parent, $page)
105 if ($parent === $page) return true;
108 $pageParts = explode(':', $page);
112 $page = join(':', $pageParts);
114 if ($parent === $page) return true;
119 * Parses the given page for a nested, unordered list
155 $page = $resolver->resolveId($instruction[1][0]);
159 'page' => $page,
167 'page' => $instruction[1][0],