7.2. Opt_View class
7.2.14. definedGlobal()
7.2.13. defined()
« Previous
7.2.15. get()
Next »

7.2.14. definedGlobal()

ConstructStatic method
Visibilitypublic
Referenceboolean definedGlobal( string $name )

Returns true, if there already exists a global template variable $name:

if(!Opt_View::defined('foo'))
{
    Opt_View::assignGlobal('foo', $someValue);
}

See also:

7.2.14. definedGlobal()
7.2. Opt_View class
« Previous
7.2.13. defined()
Next »
7.2.15. get()