tests
[ class tree: tests ] [ index: tests ] [ all elements ]

File: bug-645588.php

Source Location: /PhpDocumentor-1.4.0RC1/Documentation/tests/bug-645588.php

Classes:

Page Details:

Global functions

globalGetVar [line 40]

string globalGetVar( string $name)

Get a variable's value

globalGetVar returns the value of an internal variable. This variable must be previously assigned using either globalSetVar, or an indirect setvar-tag in a loaded template.



Parameters

string   $name   the name of the variable to return
[ Top ]



globalSetVar [line 22]

string globalSetVar( string $name, string $value)

Set a variable, used by the template engine but available to all scripts

globalSetVar sets an internal variable. This variable may later be retrieved using globalGetVar, and is automagically available to templates using the getvar-tag.

  • Return: an empty string to simplify the replacement of setvar-tags in the templates
  • See: globalGetVar()


Parameters

string   $name   the name of the variable to set
string   $value   new value
[ Top ]



Documentation generated on Mon, 25 Jun 2007 14:01:10 -0400 by phpDocumentor 1.3.2. PEAR Logo Copyright © PHP Group 2004.