libs/sysplugins/smarty_internal_template.php
public function writeCachedContent($content)
    {
        if ($this->source->recompiled || !($this->caching == Smarty::CACHING_LIFETIME_CURRENT || $this->caching == Smarty::CACHING_LIFETIME_SAVED)) {
            // don't write cache file
            return false;
        }
        $this->properties['cache_lifetime'] = $this->cache_lifetime;
        $this->properties['unifunc'] = 'content_' . str_replace('.', '_', uniqid('', true));
        $content = $this->createTemplateCodeFrame($content, true);
        $_smarty_tpl = $this;
        eval("?>" . $content);
        $this->cached->valid = true;
        $this->cached->processed = true;
        return $this->cached->write($this, $content);
    }
public function writeCachedContent($content)
    {
        if ($this->source->recompiled || !($this->caching == Smarty::CACHING_LIFETIME_CURRENT || $this->caching == Smarty::CACHING_LIFETIME_SAVED)) {
            // don't write cache file
            return false;
        }
        $this->properties['cache_lifetime'] = $this->cache_lifetime;
        $this->properties['unifunc'] = 'content_' . str_replace('.', '_', uniqid('', true));
        $content = $this->createTemplateCodeFrame($content, true);
        $_smarty_tpl = $this;
        eval("?>" . $content);
        $this->cached->valid = true;
        $this->cached->processed = true;
        return $this->cached->write($this, $content);
    }
public function writeCachedContent ( $ content ) { if ( $ this -> source -> recompiled || ! ( $ this -> caching == Smarty :: CACHING_LIFETIME_CURRENT || $ this -> caching == Smarty :: CACHING_LIFETIME_SAVED ) ) { // don't write cache file return false ; } $ this -> properties [ 'cache_lifetime' ] = $ this -> cache_lifetime ; $ this -> properties [ 'unifunc' ] = 'content_' . str_replace ( '.' , '_' , uniqid ( '' , true ) ) ; $ content = $ this -> createTemplateCodeFrame ( $ content , true ) ; $ _smarty_tpl = $ this ; eval ( "?>" . $ content ) ; $ this -> cached -> valid = true ; $ this -> cached -> processed = true ; return $ this -> cached -> write ( $ this , $ content ) ; }
Writes the cached template output

@return bool
Writes the cached template output