Lines Matching defs:id

72 		              'exclutype' => 'id', 
133 // Exclude type (exclude based on id, name, or title)
134 $this->_checkOption($match, "excludeOnID", $data['exclutype'], 'id');
137 // Exclude page/namespace id list
193 // Looking for the wanted namespace. Now, only the wanted namespace remains in $match. Then clean the namespace id
197 $parsepagetemplate_data = array('id' => $ID, 'tpl' => $ns, 'doreplace' => true);
230 * is based on item title, full id or name ($exclutype).
235 if ((strlen($conf['hidepages']) != 0) && preg_match('/'.$conf['hidepages'].'/i', $item['id'])) return true;
274 function _getMetadata ($id, $filepath) {
275 $meta = p_get_metadata($id, $key='', $render=METADATA_RENDER_USING_SIMPLE_CACHE);
293 // Get the directory path from namespace id, and check if it exists
304 $id = $ns . ':';
305 $resolver = new PageResolver($id);
306 $id = $resolver->resolveId($id);
307 $main = array( 'id' => $id,
308 'exist' => page_exists($id),
314 $main['title'] = p_get_first_heading($main['id'], true);
342 $data['index_pages'] = array( $main['id'] );
369 $id = ($ns == '') ? $name : $ns.':'.$name;
371 $item = array('id' => $id, 'rel_id' => $rel_id, 'name' => $name, 'title' => NULL);
396 $item['buttonid'] = $data['createPageButtonSubs'] ? $id.':' : NULL;
405 $this->_walk_recurse($data, $path.'/'.$file, $id, $rel_id, $exclunspages, $exclunsns, $depth+1, $item['_']);
415 $item['metadata'] = $this->_getMetadata($id, $file);
490 $renderer->internallink(':'.$main['id'], $main['title']);
518 function _cached_quickaclcheck($id) {
520 if (!isset($cache[$id]))
521 $cache[$id] = auth_quickaclcheck($id);
522 return $cache[$id];
529 $perms = $this->_cached_quickaclcheck($item['id'].':*');
533 $perms = $this->_cached_quickaclcheck($item['id']);
545 $perms = $this->_cached_quickaclcheck($item['id'].':*');
567 $perms = $this->_cached_quickaclcheck($item['id']);
570 if ($data['hide_index'] && in_array($item['id'], $data['index_pages']))
606 if ($displayLink) $renderer->internallink(':'.$item['id'], $item['title']);
611 $renderer->internallink(':'.$item['id'], $item['title']);