Smarty Resource Data Object

Cache Data Container for Template Files

package Smarty
subpackage TemplateResources
author Rodney Rehm

 Methods

create Cached Object container

__construct(\Smarty_Internal_Template $_template) 

Parameters

$_template

\Smarty_Internal_Template

template object

Write this cache object to handler

write(\Smarty_Internal_Template $_template, string $content) : boolean

Parameters

$_template

\Smarty_Internal_Template

template object

$content

string

content to cache

Returns

booleansuccess

 Properties

 

$cache_id : string
 

$compile_id : string
 

$content : string
 

$exists : boolean
 

$filepath : string
 

$handler : \Smarty_CacheResource
 

$is_locked : bool
 

$lock_id : string
 

$processed : boolean
   

$timestamp : integer
 

$valid : boolean