Lines Matching defs:pageid
154 $pageid = $options['start'];
156 while ($pageid !== null) {
158 $pageitem['id'] = $pageid;
176 $recursioncheck[$pageid] = true;
179 $list[$pageid] = $pageitem;
184 $toc = p_get_metadata($pageid, 'description tableofcontents', METADATA_RENDER_USING_CACHE | METADATA_RENDER_UNLIMITED);
192 $item['id'] = $pageid . '#' . $tocitem['hid'];
211 if ($ACT == 'preview' && $pageid === $ID) {
216 $pagedata = $pagenav->getPageData($pageid);
220 $pagedata = p_get_metadata($pageid, 'docnavigation');
227 if ($previouspage !== null && page_exists($pageid)) {
228 msg(sprintf($this->getLang('dontlinkback'), $pageid, $previouspage), -1);
232 $previouspage = $pageid;
234 $pageid = null;
238 msg(sprintf($this->getLang('recursionprevented'), $pageid, $nextpageid), -1);
239 $pageid = null;
241 $pageid = $nextpageid;
283 * Resolves given id against current page to full pageid, removes hash
285 * @param string $pageid
288 public function getFullPageid($pageid)
294 $pageid = $resolver->resolveId($pageid);
297 resolve_pageid(getNS($ID), $pageid, $exists);
299 [$page, /* $hash */] = array_pad(explode('#', $pageid, 2), 2, '');