HTML_Template_IT::get() | HTML_Template_IT::loadTemplatefile() |
HTML_Template_IT | |
PEAR Manual | |
require_once 'HTML/Template/IT.php'; |
array
HTML_Template_IT::getGlobalvariables (
)
Gets an array of all global variables in the variable cache. Only variables that are filled using HTML_Template_IT::setVariable() are returned. The returned has two values. The first values holds an array with the names of the global variables, the second value holds an array with all the values.
array - An array. The key 0 holds an array with the names of all filled variables, the key 1 holds an array with names of the according values.
Script
|
The output
Array ( [0] => Array ( [0] => @{page}@ ) [1] => Array ( [0] => http://example.com ) ) |
This function can not be called statically.
HTML_Template_IT::get() | HTML_Template_IT::loadTemplatefile() |
HTML_Template_IT | |
PEAR Manual | |