Lines Matching refs:ar
52 function setUpdate($ar = null){ argument
53 if($ar) {
54 $this->header = $ar[0];
55 $this->sub_feed = trim($ar[1]);
87 $ar = $this->_readFile($metafile, true);
90 if(isset($ar[$md_5])) {
91 unset($ar[$md_5]);
92 $this->_writeFile($metafile,$ar,true);
105 if(empty($ar[$md_5]['create_time'])) {
108 else $result['create_time'] = $ar[$md_5]['create_time'];
110 $ar[$md_5] = $result;
112 $this->_writeFile($metafile,$ar,true);
149 …$ar = preg_split("/(={" . $segs . ",}.*?={" . $segs . ",})\s*\n/",$data, -1, PREG_SPLIT_DELIM_CAP…
150 if(count($ar) == 0) return false;
151 array_shift($ar); //removes ~~NEWSFEED.*?~~ and any text above first header
154 for($i=0, $j=0; $i<count($ar); $i+=2, $j++) {
155 $feed_data[$j]['title'] = str_replace('=',"",$ar[$i]);
156 $feed_data[$j]['item'] = $this->render_text($ar[$i+1]);
158 $feed_data[$j]['name'] = sectionID($ar[$i],$check);