Constructor & Destructor Documentation
Member Function Documentation
static loadFile |
( |
$ |
filename, |
|
|
$ |
block_size = 8192 |
|
) |
| [static] |
Reads an entire file and returns it's content
- Parameters:
-
string | $filename | Full path of the file |
integer | $block_size | Default size of the block for read operation |
- Returns:
- string
Load the template from a file
- Parameters:
-
Transform the loaded template, using the current array of data
- Returns:
- string The resulting document
useCache |
( |
$ |
file = false , |
|
|
$ |
validity = 3600 , |
|
|
$ |
path = false |
|
) |
| |
Enable or disable the cache system
- Parameters:
-
string | $file | If FALSE, disable the cache system. Otherwise this must be the filename of the cachefile |
integer | $validity | Validity of the cache in seconds |
string | $path | Path where to store the cache files (If FALSE, the current folder will be used) |
Field Documentation
$cache_file = false [protected] |
$cache_path = false [protected] |
$cache_validity = 3600 [protected] |
The documentation for this class was generated from the following file: