Source

class.PHPTemplateLayer.inc.php

Parent Class

Public function of PHPTemplateLayer

Example Usage


$PHPTemplateLayer->prepare("page.htm");
$PHPTemplateLayer->prepare("page.htm",'');
$PHPTemplateLayer->prepare("page.htm",'FILE');
$PHPTemplateLayer->prepare($page,'VARIABLE');

Usage Notes

This function must be called after creating the PHPTemplateLayer object but before using any other functions.

Return

If $inputtype is 'VARIABLE': If $template contains no data 'FALSE'. If $inputtype is not defined as 'VARIABLE' and there is an error accessing your template file, 'Error. Could not open template.' will be displayed to users.