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_Function_Globalvar

Description

patTemplate function that enables adding global variables from within a template.

Available attributes:

name > name of the variable default > default value of the variable hidden > whether to output the content of the variable: yes|no

$Id: Globalvar.php 221 2004-05-28 15:45:08Z schst $

Located in /pattemplate/patTemplate/Function/Globalvar.php (line 34)

Abstract class patTemplate_Module

Abstract class patTemplate_Function
   
   Class patTemplate_Function_Globalvar   (Subpackage Functions)
Variable Summary
Variable object $_tmpl
Method Summary
Method 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

Variable patTemplate_Function::$type

Inherited from patTemplate_Module

Variable 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 Mon, 05 Mar 2007 21:05:10 +0000 by phpDocumentor 1.3.1