API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
patTemplate_Reader_File::_getFileContents | ( | $ | file | ) |
get the contents of a file
private
string | filename |
store the file name
Références $content, $file, et patErrorManager::raiseError().
patTemplate_Reader_File::_resolveFullPath | ( | $ | filename, |
$ | relativeTo = false |
||
) |
resolve path for a template
private
string | filename |
boolean|string | filename for relative path calculation |
Références $filename, et patErrorManager::raiseError().
patTemplate_Reader_File::loadTemplate | ( | $ | input | ) |
load template from any input
If the a template is loaded, the content will not get analyzed but the whole content is returned as a string.
must be implemented in the template readers
mixed | input to load from. This can be a string, a filename, a resource or whatever the derived class needs to read from |
Références patErrorManager::isError().
patTemplate_Reader_File::readTemplates | ( | $ | input | ) |
read templates from any input
public
string | file to parse |
Références $content, et patErrorManager::isError().
patTemplate_Reader_File::$_files = array() |
patTemplate_Reader_File::$_isRemote = false |
patTemplate_Reader_File::$_name = 'File' |
Réimplémentée à partir de patTemplate_Module.