fetch( 'uiswitch', 'toolbar' )
Defined in kernel/uiswitch/function_definition.php; it calls expUISwitch::fetchToolbar() (kernel/classes/uiswitch/expuiswitch.php).
Operation type: read.
Parameters
None.
Example
In a template (the values are placeholders of each parameter's type):
def $result = fetch( 'uiswitch', 'toolbar' )In PHP, the same function through the function handler (lib/ezutils/classes/ezfunctionhandler.php):
$result = eZFunctionHandler::execute( 'uiswitch', 'toolbar', array() );In a shipped template
The first use in the templates of this installation, design/admin/templates/toolbar/full/admin_ui_switch.tpl line 7:
def $exp_ui_choices = fetch( 'uiswitch', 'toolbar' )Related
Generated by ./console exp:help:examples from kernel/uiswitch/function_definition.php, kernel/classes/uiswitch/expuiswitch.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.