boolean __construct(
[string
$file = null]
)
|
|
Constructor
Parameters:
string |
$file: |
The file name you want to load |
API Tags:
Return: | True on successful construction, False otherwise. |
Access: | public |
void display(
[$file
$file = null]
)
|
|
Open, parse, and echo the template file.
Parameters:
$file |
$file: |
string the template file name |
API Tags:
string fetch(
[string
$file = null]
)
|
|
Open, parse, and return the template file.
Parameters:
string |
$file: |
string the template file name. |
API Tags:
Return: | HTML Code. |
Access: | public |
boolean set(
string
$name, value
$value
)
|
|
Set a template variable.
Parameters:
string |
$name: |
The name the variable should have inside the template. |
value |
$value: |
The value the variable $name should hold. |
API Tags:
Return: | True on successful set, False otherwise. |
Access: | public |