Class TfCache
Handles Tuskfish page-level caching operations.
Cached pages are written to the private cache directory(trust_path/cache). The cache can be enabled / disabled and a expiry timer set in Tuskfish preferences.
Package: core
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.1
Since: 1.0
Var: TfishValidator $validator An instance of the Tuskfish data validator class.
Var: TfPreference $preference An instance of the Tuskfish site preferences class.
Located at trust_path/libraries/tuskfish/class/TfCache.php
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.1
Since: 1.0
Var: TfishValidator $validator An instance of the Tuskfish data validator class.
Var: TfPreference $preference An instance of the Tuskfish site preferences class.
Located at trust_path/libraries/tuskfish/class/TfCache.php
Methods summary
public
|
|
public
|
|
public
boolean
|
|
public
string|boolean
|
#
getCachedPage( string $basename, array $params = array() )
Check if a cached page exists and has not expired, and displays it. |
Properties summary
protected
|
$validator
|
|
protected
|
$preference
|