fetch( 'content', 'trash_object_list' )
Defined in kernel/content/function_definition.php; it calls eZContentFunctionCollection::fetchTrashObjectList() (kernel/content/ezcontentfunctioncollection.php).
Operation type: read.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
offset | integer | no | false |
limit | integer | no | false |
objectname_filter | string | no | null |
attribute_filter | mixed | no | false |
sort_by | mixed | no | false |
as_object | bool | no | true |
Example
In a template (the values are placeholders of each parameter's type):
def $result = fetch( 'content', 'trash_object_list', hash( 'offset', 1 ) )
{* with every parameter *}
{def $all = fetch( 'content', 'trash_object_list', hash( 'offset', 1,
'limit', 1,
'objectname_filter', 'objectname_filter',
'attribute_filter', $attribute_filter,
'sort_by', $sort_by,
'as_object', true() ) )}In PHP, the same function through the function handler (lib/ezutils/classes/ezfunctionhandler.php):
$result = eZFunctionHandler::execute( 'content', 'trash_object_list', array( 'offset' => 1 ) );Related
Generated by ./console exp:help:examples from kernel/content/function_definition.php, kernel/content/ezcontentfunctioncollection.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.