Lines Matching refs:id

608      * @param bool|string $id     - reference page (false for current)
611 public function tpl_related($num=5,$blogs=array('default'),$id=false,$tags=array()){ argument
615 if($id === false) $id = $INFO['id']; //sidebar safe
617 $pid = md5(cleanID($id));
705 … * @param bool|string $id string page id of blog post for which to generate the adjacent link
710 public function tpl_previouslink($tpl, $id=false, $return=false) { argument
711 $out = $this->_navi_link($tpl, 'prev', $id);
726 * @param bool|string $id page id of blog post for which to generate the adjacent link
731 public function tpl_nextlink($tpl, $id=false, $return=false) { argument
732 $out = $this->_navi_link($tpl, 'next', $id);
830 $id = $this->entry['page'];
832 if(in_array($id, $recursion)){
837 $recursion[] = $id;
848 …$ID = $id; // p_cached_instructions doesn't change $ID, so we need to do it or plugins like the di…
849 $ins = p_cached_instructions(wikiFN($id));
852 $ID = $id;
906 * @param bool|string $id page id of the entry for which to get said links
910 public function getAdjacentLinks($id = false) { argument
912 if($id === false) $id = $INFO['id']; //sidebar safe
913 $pid = md5(cleanID($id));
970 $id = $this->entry['page'];
972 $this->entry['abstract'] = p_get_metadata($id,'description abstract',true);
985 $id = $this->entry['page'];
986 if (!page_exists($id)) return false;
989 $ns = getNS($id);
1187 $id = str_replace(':', '_', $this->entry['page']);
1190 … '<a href="#fn__'.$id.'__\1" name="fnt__'.$id.'__\2" id="fnt__'.$id.'__\3" class="fn_top">',
1192 … '<a href="#fnt__'.$id.'__\1" name="fn__'.$id.'__\2" id="fn__'.$id.'__\3" class="fn_bot">',
1203 $id = $this->entry['page'];
1204 $perm = auth_quickaclcheck($id);
1206 if (page_exists($id)) {
1207 if (($perm >= AUTH_EDIT) && (is_writable(wikiFN($id)))) {
1221 html_btn($action, $id, '', $params, 'post').DOKU_LF.
1232 * @param bool|string $id page id of blog post for which to generate the adjacent link
1236 private function _navi_link($tpl, $type, $id = false) { argument
1237 $related = $this->getAdjacentLinks($id);