Class patTemplate_Function_Attribute

Description

patTemplate function to dynamically change the value of _any_ attribute of the parent tag.

Possible attributes:

  • name => name of the attribute to change
The enclosed data will be used as the value of the attribute.

$Id: Attribute.php,v 1.1 2004/07/08 20:59:00 schst Exp $

Located in /includes/patTemplate/patTemplate/Function/Attribute.php (line 28)

patTemplate_Module
   |
   --patTemplate_Function
      |
      --patTemplate_Function_Attribute
Method Summary
string call (array $params, string $content)
Variables
Methods
call (line 45)

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

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:44 +1000 by phpDocumentor 1.3.0RC3