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

File: bug-645588.php

Source Location: /PhpDocumentor-1.2.0beta2/Documentation/tests/bug-645588.php

Classes:

Page Details:

Global functions
  • Version: 1.0
  • Since: 26-03-2002 15:56
  • Author: Mark van Renswoude

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 Fri, 30 Apr 2004 22:09:10 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.