fetch( 'setup', 'extension_counts' )
Defined in kernel/setup/function_definition.php; it calls eZSetupFunctionCollection::fetchExtensionCounts() (kernel/setup/ezsetupfunctioncollection.php).
Operation type: read.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
all_siteaccesses | bool | no | false |
Example
In a template (the values are placeholders of each parameter's type):
def $result = fetch( 'setup', 'extension_counts', hash( 'all_siteaccesses', true() ) )In PHP, the same function through the function handler (lib/ezutils/classes/ezfunctionhandler.php):
$result = eZFunctionHandler::execute( 'setup', 'extension_counts', array( 'all_siteaccesses' => true ) );In a shipped template
The first use in the templates of this installation, design/admin4/templates/content/dashboard.tpl line 166:
def $extension_counts = fetch( 'setup', 'extension_counts' )Related
Generated by ./console exp:help:examples from kernel/setup/function_definition.php, kernel/setup/ezsetupfunctioncollection.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.