[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/pattemplate/patTemplate/Function/ -> Globalvar.php (summary)

patTemplate function that enables adding global variables from within a template. $Id: Globalvar.php 10381 2008-06-01 03:35:53Z pasamio $

Author: Sebastian Mordziol <argh@php-tools.net>
Author: Stephan Schmidt <schst@php.net>
File Size: 88 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

patTemplate_Function_Globalvar:: (2 methods):
  setTemplateReference()
  call()


Class: patTemplate_Function_Globalvar  - X-Ref

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 10381 2008-06-01 03:35:53Z pasamio $

setTemplateReference( &$tmpl )   X-Ref
set a reference to the patTemplate object that instantiated the reader

param: object        patTemplate object

call( $params, $content )   X-Ref
call the function

param: array    parameters of the function (= attributes of the tag)
param: string    content of the tag
return: string    content to insert into the template



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1