Home
last modified time | relevance | path

Searched refs:snip_data (Results 1 – 4 of 4) sorted by relevance

/plugin/snippets/
H A Daction.php49 $snip_data=unserialize(io_readFile($this->metafn,false));
50 if(!array_key_exists($INFO['id'],$snip_data['doc'])) return;
189 if(!array_key_exists($page_id,$snip_data['doc'])) return;
190 $snippets = $snip_data['doc'][$page_id];
195 $snip_data['doc'][$page_id] = $intersect;
196 io_saveFile($this->metafn,serialize($snip_data));
221 $snip_data=unserialize(io_readFile($this->metafn,false));
222 if(!array_key_exists($snipid,$snip_data['snip'])) return;
231 $page_ids = $snip_data['snip'][$snipid];
296 $snip_data['doc'][$curpage][]= $id;
[all …]
H A Dhelper.php129 $snip_data=unserialize(io_readFile($this->metafn,false));
130 if(!array_key_exists($page_id,$snip_data['doc'])) return; //Check if page contains snippet
134 $snippets = $snip_data['doc'][$page_id];
H A Dadmin.php84 $snip_data = array();
95 $snip_data[$ar[$i]][] = $id;
100 $final['snip'] = $snip_data;
/plugin/snippets/exe/
H A Dupdate.php34 global $snip_data;
35 $snip_data=unserialize(io_readFile($helper->getMetaFileName(),false)); variable
36 if(array_key_exists($id,$snip_data['doc'])) {
37 $snippets = $snip_data['doc'][$id];
51 global $snip_data,$helper;
61 …$pages = $helper->getPageArray($snip_data['snip'][$snip] , $id); // if not, remove it from the sn…
62 $snip_data['snip'][$snip] = $pages;
63 io_saveFile($helper->getMetaFileName(),serialize($snip_data));