コード例 #1
0
 function generateProcessedContent($fname, $args)
 {
     extract($args);
     $content = eZTemplateCacheFunction::processUncached($tpl, $functionChildren, $rootNamespace, $currentNamespace);
     return array('scope' => 'template-block', 'content' => $content, 'binarydata' => $content);
 }
コード例 #2
0
 static function removeAllExpiryCacheFromDisk()
 {
     $expiryCachePath = eZTemplateCacheFunction::expiryTemplateBlockCacheDir();
     eZSubtreeCache::removeExpiryCacheFromDisk( $expiryCachePath );
 }