Lines Matching refs:entry

20     public $entry = null;  variable in helper_plugin_blogtng_entry
39 $this->entry = $this->prototype();
52 $this->entry = $this->prototype();
75 $this->entry['pid'] = $pid;
80 $this->entry = $result[0];
81 $this->entry['pid'] = $pid;
98 $this->entry = $row;
111 public function set($entry) { argument
112 foreach (array_keys($entry) as $key) {
113 … if (!in_array($key, array('pid', 'page', 'created', 'login')) || empty($this->entry[$key])) {
114 $this->entry[$key] = $entry[$key];
145 if(!$this->entry['page'] or !page_exists($this->entry['page']) OR !$this->entry['blog']){
156 if(!$this->entry['pid']) return false;
165 $this->commenthelper->delete_all($this->entry['pid']);
171 $this->taghelper->setPid($this->entry['pid']);
177 $ret = $this->sqlitehelper->getDB()->query($sql,$this->entry['pid']);
178 $this->entry = $this->prototype();
188 if(!$this->entry['pid'] || $this->entry['pid'] == md5('')){
200 $this->entry['pid'],
201 $this->entry['page'],
202 $this->entry['title'],
203 $this->entry['blog'],
204 $this->entry['image'],
205 $this->entry['created'],
206 $this->entry['lastmod'],
207 $this->entry['author'],
208 $this->entry['login'],
209 $this->entry['mail'],
210 $this->entry['commentstatus']
215 $this->entry['page'],
216 $this->entry['title'],
217 $this->entry['blog'],
218 $this->entry['image'],
219 $this->entry['created'],
220 $this->entry['lastmod'],
221 $this->entry['login'],
222 $this->entry['author'],
223 $this->entry['mail'],
224 $this->entry['commentstatus'],
225 $this->entry['pid']
253 $entryBackup = $this->entry;
265 $this->entry = $entryBackup; // restore previous entry in order to allow nesting
450 $entry = $this; //used in the included template
484 echo wl($this->entry['page']).(!empty($anchor) ? '#'.$anchor : '');
493 …echo '<a href="' . wl ($this->entry['page']) . '" title="' . hsc($this->entry['title']) . '">' . $…
505 $abstract = utf8_substr($this->entry['abstract'], 0, $len).'…';
507 $abstract = $this->entry['abstract'];
516 print hsc($this->entry['title']);
525 if(!$this->entry['created']) return; // uh oh, something went wrong
526 print dformat($this->entry['created'],$format);
535 if(!$this->entry['lastmod']) return; // uh oh, something went wrong
536 print dformat($this->entry['lastmod'], $format);
543 if(empty($this->entry['author'])) return;
544 print hsc($this->entry['author']);
553 if(empty($this->entry['author'])) return;
561 hsc($this->entry['author']) . '</a>' . DOKU_LF
576 if ($this->entry['commentstatus'] == 'disabled') return;
580 $this->commenthelper->setPid($this->entry['pid']);
597 $this->commenthelper->setPid($this->entry['pid']);
666 …if ($this->entry['commentstatus'] == 'closed' || $this->entry['commentstatus'] == 'disabled') retu…
670 … $this->commenthelper->tpl_form($this->entry['page'], $this->entry['pid'], $this->entry['blog']);
684 $this->taghelper->load($this->entry['pid']);
696 $this->taghelper->load($this->entry['pid']);
765 if ($this->entry != null) {
766 return $this->entry['blog'];
830 $id = $this->entry['page'];
900 return ($this->taghelper->count($this->entry['pid']) > 0);
947 $this->commenthelper->setPid($this->entry['pid']);
959 $this->taghelper->load($this->entry['pid']);
969 if(isset($this->entry['abstract'])) return;
970 $id = $this->entry['page'];
972 $this->entry['abstract'] = p_get_metadata($id,'description abstract',true);
985 $id = $this->entry['page'];
1108 return $this->entry['page'].$link;
1158 …$ins[] = array('internallink',array($this->entry['page'].'#readmore_'.str_replace(':', '_', $this-…
1187 $id = str_replace(':', '_', $this->entry['page']);
1203 $id = $this->entry['page'];