\Smarty_Internal_Method_GetGlobal

Smarty Method GetGlobal

Smarty::getGlobal() method

Summary

Methods
Properties
Constants
getGlobal()
$objMap
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$objMap

$objMap : integer

Valid for all objects

Type

integer

Methods

getGlobal()

getGlobal(\Smarty_Internal_Data  $data, string  $varName = null) : string

Returns a single or all global variables

Parameters

\Smarty_Internal_Data $data
string $varName

variable name or null

Returns

string —

variable value or or array of variables