patTemplate_Reader_DB
Description
patTemplate Reader that reads from a database using PEAR::DB
$Id: DB.php 47 2005-09-15 02:55:27Z rhuk $
Located in /pattemplate/patTemplate/Reader/DB.php (line 44)
patTemplate_Module patTemplate_Reader patTemplate_Reader_DB (Subpackage Readers)
Method Summary
Variables
Inherited Variables
Inherited from patTemplate_Reader
patTemplate_Reader::$_path
patTemplate_Reader::$_templates
patTemplate_Reader::$_tmpl
Inherited from patTemplate_Module
patTemplate_Module::$_params
Methods
getDataFromDb (line 83)
fetch the template data from the database
void
getDataFromDb
(string $input)
- string $input: input to read from
loadTemplate (line 158)
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.
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 67)
read templates from the database
Input may either be an SQL query or a string defining the location of the template using the format:
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:56:25 +0000 by phpDocumentor 1.3.1