Lines Matching refs:this

19         $this->helper = plugin_load('helper', 'news');
20 $this->helper->setSubFeed($subfeed) ;
22 $metafile = $this->helper->getMetaFN('pagedata', '.ser');
23 $this->meta_data = $this->_readFile($metafile, true);
24 uasort($this->meta_data,function($a,$b) {
31 $this->get_md5_array();
33 $metafile = $this->helper->getMetaFN('timestamp','.meta') ;
35 $this->newsFeedDate = $this->_readFile($metafile);
40 $this->feedDataBaseNames = array();
41 $ar = array_keys($this->meta_data);
43 $file = $this->helper->getMetaFN($md5, '.gz');
45 $this->feedDataBaseNames[] = $md5;
62 $this->currentDataArray['item'] =
63 …preg_replace('#(href|src)\s*=\s*([\'\"])/.*?/#ms', "$1=$2" . $this->news_feed_url(), $this->curren…
65 return $this->currentDataArray['item'];
70 return $this->currentDataArray['name'];
73 return $this->currentDataArray['title'];
78 return $this->currentMetaArray['id'];
82 return $this->currentMetaArray['url'];
86 return $this->currentMetaArray['time'];
91 …if($this->helper->getConf('createtime') && isset($this->currentMetaArray['create_time'])) { …
92 return $this->currentMetaArray['create_time'];
95 return $this->currentMetaArray['gmtime'];
99 return date('r',$this->timestamp());
104 list($server,$rest) = explode('?', $this->url());
121 if($which == 'gm') return gmdate('r',$this->newsFeedDate);
122 return date('r',$this->newsFeedDate);
126 return $this->currentMD5BaseName;
130 $md5 = array_shift($this->feedDataBaseNames);
132 $this->currentMD5BaseName = $md5;
133 return $this->helper->getMetaFN($md5, '.gz');
138 $file = $this->_dataFN();
139 $ar = $this->_readFile($file, true);
149 $file = $this->_dataFN();
151 $this->currentMetaArray = array();
154 $this->rss_data = $this->_readFile($file, true);
155 $this->currentMetaArray = $this->meta_data[$this->currentMD5BaseName];
160 if(is_array($this->currentDataArray)) {
161 $this->currentDataArray = array_shift($this->rss_data);
164 if(!$this->currentDataArray) {
165 $this->next_data_file();
166 $this->currentDataArray = array_shift($this->rss_data);
170 if(!$this->currentDataArray) return false;
189 if(!$newsChannelTtl) return $this->ttl;