API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
patTemplate_Reader_IT::_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_IT::_resolveFullPath | ( | $ | filename | ) |
resolve path for a template
private
string | filename |
Références $filename.
patTemplate_Reader_IT::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_IT::parseString | ( | $ | string | ) |
parse templates from string
private
string | string to parse |
apply input filter before parsing
create a special root template
start parsing
the first token is always character data Though it could just be empty
is it a closing tag?
check for tags that are still open
Réimplémentée à partir de patTemplate_Reader.
Références $data, $i, patErrorManager::isError(), et patErrorManager::raiseError().
patTemplate_Reader_IT::readTemplates | ( | $ | input | ) |
read templates from any input
public
string | file to parse |
Références $content, et patErrorManager::isError().
patTemplate_Reader_IT::$_files = array() |
patTemplate_Reader_IT::$_name = 'IT' |
Réimplémentée à partir de patTemplate_Module.