コード例 #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();
 }
コード例 #2
0
 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();
 }
コード例 #3
0
 function cache_export_begin()
 {
     return str_replace('\'', '##', parent::cache_export_begin());
 }
コード例 #4
0
 function cache_export()
 {
     return parent::cache_export_begin() . trim(var_export($this->display(), true), '\'') . parent::cache_export_end();
 }