fetch( 'package', 'content_export_access' )
Defined in kernel/package/function_definition.php; it calls eZPackageFunctionCollection::contentExportAccess() (kernel/package/ezpackagefunctioncollection.php).
Parameters
None.
Example
In a template (the values are placeholders of each parameter's type):
def $result = fetch( 'package', 'content_export_access' )In PHP, the same function through the function handler (lib/ezutils/classes/ezfunctionhandler.php):
$result = eZFunctionHandler::execute( 'package', 'content_export_access', array() );In a shipped template
The first use in the templates of this installation, design/admin/templates/popupmenu/popup_export_items.tpl line 13:
if and( fetch( 'package', 'content_export_access' ), fetch( 'user', 'can_open', hash( 'uri', 'package/create' ) ) )Related
Generated by ./console exp:help:examples from kernel/package/function_definition.php, kernel/package/ezpackagefunctioncollection.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.