\Smarty_Template_Cached

Smarty Resource Data Object

Cache Data Container for Template Files

Summary

Methods
Properties
Constants
__construct()
write()
$filepath
$content
$timestamp
$exists
$valid
$processed
$handler
$compile_id
$cache_id
$lock_id
$is_locked
$source
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$filepath

$filepath : string

Source Filepath

Type

string

$content

$content : string

Source Content

Type

string

$timestamp

$timestamp : integer

Source Timestamp

Type

integer

$exists

$exists : boolean

Source Existance

Type

boolean

$valid

$valid : boolean

Cache Is Valid

Type

boolean

$processed

$processed : boolean

Cache was processed

Type

boolean

$compile_id

$compile_id : string

Template Compile Id (Smarty_Internal_Template::$compile_id)

Type

string

$cache_id

$cache_id : string

Template Cache Id (Smarty_Internal_Template::$cache_id)

Type

string

$lock_id

$lock_id : string

Id for cache locking

Type

string

$is_locked

$is_locked : boolean

flag that cache is locked by this instance

Type

boolean

Methods

__construct()

__construct(\Smarty_Internal_Template  $_template) 

create Cached Object container

Parameters

\Smarty_Internal_Template $_template

template object

write()

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

Write this cache object to handler

Parameters

\Smarty_Internal_Template $_template

template object

string $content

content to cache

Returns

boolean —

success