Class patTemplate_Function_Call

Description

patTemplate function that enables you to insert any template, that has been loaded previously into the current template.

You may pass any variables to the template.

$Id: Call.php,v 1.5 2004/10/28 15:41:57 schst Exp $

Located in /includes/patTemplate/patTemplate/Function/Call.php (line 34)

patTemplate_Module
   |
   --patTemplate_Function
      |
      --patTemplate_Function_Call
Variable Summary
object $_tmpl
Method Summary
string call (array $params, string $content)
Variables
object $_tmpl (line 49)

reference to the patTemplate object that instantiated the module

  • access: protected

Inherited Variables

Inherited from patTemplate_Function

patTemplate_Function::$type

Inherited from patTemplate_Module

patTemplate_Module::$_params
Methods
call (line 70)

call the function

  • return: content to insert into the template
  • access: public
string call (array $params, string $content)
  • array $params: parameters of the function (= attributes of the tag)
  • string $content: content of the tag

Redefinition of:
patTemplate_Function::call()
call the function
setTemplateReference (line 57)

set a reference to the patTemplate object that instantiated the reader

  • access: public
void setTemplateReference (object patTemplate &$tmpl)

Inherited Methods

Inherited From patTemplate_Function

patTemplate_Function::call()
patTemplate_Function::setReader()

Inherited From patTemplate_Module

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

Documentation generated on Fri, 4 Mar 2005 13:55:45 +1000 by phpDocumentor 1.3.0RC3