explanation only

A

Anonymous

Guest
hi
i need to know what weaning std.tpl this and how it use in this code

Code:
function Page($template = 'std.tpl') {
if (file_exists($template))
$this->page = join('', file($template));
else
die("Template file $template not found.");
}
 
'std.tpl' is the default value for $template when the function Page is called with no parameters.

Coditor
 
Back
Top