Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: patTemplate

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class patTemplate_Reader_File

Description

patTemplate Reader that reads from a file

$Id: File.php 413 2005-08-05 13:51:01Z schst $

Located in /pattemplate/patTemplate/Reader/File.php (line 24)

Abstract class patTemplate_Module

Abstract class patTemplate_Reader
   
   Class patTemplate_Reader_File   (Subpackage Readers)
Method Summary
Abstract method string loadTemplate (mixed $input)
Method array readTemplates (string $input)
Methods
loadTemplate (line 95)

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.

  • return: template content
  • abstract: must be implemented in the template readers
string loadTemplate (mixed $input)
  • mixed $input: input to load from. This can be a string, a filename, a resource or whatever the derived class needs to read from

Redefinition of:
patTemplate_Reader::loadTemplate()
load template from any input
readTemplates (line 57)

read templates from any input

  • return: templates
  • access: public
  • final:
array readTemplates (string $input)
  • string $input: file to parse

Redefinition of:
patTemplate_Reader::readTemplates()
read templates from any input

Inherited Methods

Inherited From patTemplate_Reader

 patTemplate_Reader::addFunctionAlias()
 patTemplate_Reader::getCurrentInput()
 patTemplate_Reader::getTemplateRoot()
 patTemplate_Reader::isInUse()
 patTemplate_Reader::loadTemplate()
 patTemplate_Reader::readTemplates()
 patTemplate_Reader::setOptions()
 patTemplate_Reader::setRootAttributes()
 patTemplate_Reader::setTemplateReference()
 patTemplate_Reader::shouldMaintainBc()

Inherited From patTemplate_Module

 patTemplate_Module::getName()
 patTemplate_Module::getParam()
 patTemplate_Module::setParams()

Documentation generated on Mon, 05 Mar 2007 20:58:35 +0000 by phpDocumentor 1.3.1