7.2. Opt_View class
7.2.9. assignGroupGlobal()
7.2.8. assignGroup()
« Previous
7.2.10. assignRef()
Next »

7.2.9. assignGroupGlobal()

ConstructStatic method
Visibilitypublic
Referencevoid assignGroupGlobal( array $variables )

Uses an associative array $variables to create many global template variables:

Opt_View::assignGlobalGroup( array(
    'foo' => 'foo',
    'bar' => 'bar',
    'joe' => 'joe'
));

The template:

<p>{$global.foo}</p>
<p>{$global.bar}</p>
<p>{$global.joe}</p>

See also:

7.2.9. assignGroupGlobal()
7.2. Opt_View class
« Previous
7.2.8. assignGroup()
Next »
7.2.10. assignRef()