예제 #1
0
 function cache_export()
 {
     return parent::cache_export_begin() . '\';import(\'content/syndication/feed\');$__menu=Feed::get_parsed(' . var_export($this->module_id, true) . ',' . var_export($this->name, true) . ',' . $this->category . ',FeedMenu::get_template(' . var_export($this->get_title(), true) . ', ' . var_export($this->get_block(), true) . '),' . $this->number . ',' . $this->begin_at . ');' . '$__menu.=\'' . parent::cache_export_end();
 }
 function cache_export()
 {
     $cache_str = '\';include_once PATH_TO_ROOT.\'/' . strtolower($this->title) . '/' . $this->filename . '.php\';';
     $cache_str .= 'if(function_exists(\'' . $this->filename . '\')) { $__menu.=' . $this->filename . '(' . $this->position . ',' . $this->block . ');} $__menu.=\'';
     return parent::cache_export_begin() . $cache_str . parent::cache_export_end();
 }
 function cache_export_end()
 {
     return str_replace('\'', '##', parent::cache_export_end());
 }
예제 #4
0
 function cache_export()
 {
     return parent::cache_export_begin() . trim(var_export($this->display(), true), '\'') . parent::cache_export_end();
 }