Fetch functions
| Name | Summary |
|---|---|
| access | Checks if the current user has access to a given function. |
| bookmarks | Fetches the bookmarks of the current user. |
| calendar | Not documented yet. |
| can_instantiate_classes | Checks if the current user is allowed to create nodes. |
| can_instantiate_class_list | Fetches the classes that the current user can create objects of. |
| class | Fetches a content class. |
| class_attribute | Fetches an attribute of a content class. |
| class_attribute_list | Fetches the attributes of a class. |
| collected_info_collection | Fetches an information collection. |
| collected_info_count | Fetches the number of collections that match a certain criteria. |
| collected_info_count_list | Fetches the number of times different values were collected. |
| contentobject_attributes | Fetches the attributes of an object's version (and translation). |
| draft_count | Fetches the number of drafts that belong to the current user. |
| draft_version_list | Fetches the drafts that belong to the current user. |
| keyword | Fetches nodes that use keywords starting with a given sequence. |
| keyword_count | Fetches the number of nodes that use certain keywords. |
| list | Fetches the children of a node or a collection of nodes. |
| list_count | Fetches the number of children of a node. |
| locale_list | Fetches the available locales. |
| navigation_part | Fetches information about a navigation part. |
| navigation_parts | Fetches all available navigation parts. |
| node | Fetches a node (identified by either an ID number or a path). |
| non_translation_list | Fetches locales that a version of an object may be translated into. |
| object | Fetches a content object (specified by an ID number). |
| object_by_attribute | DEPRECATED |
| object_count_by_user_id | Fetches the number of objects (of a class) created by a user. |
| pending_count | Fetches the number of pending objects for the current user. |
| pending_list | Fetches the pending objects for the current user. |
| recent | Fetches nodes where the current user recently published something. |
| related_objects | Fetches related objects. |
| related_objects_count | Fetches the number of related objects. |
| reverse_related_objects | Fetches reverse related objects. |
| reverse_related_objects_count | Fetches the number of reverse related objects. |
| same_classattribute_node | Fetches nodes containing attributes that match a certain value. |
| search | Fetches nodes containing data that match a certain criteria. |
| section_list | Fetches the available sections. |
| tipafriend_top_list | Fetches the most popular (most tipped) nodes. |
| translation_list | Fetches the locales that can be used to translate objects. |
| trash_count | Fetches the number of objects that are in the trash. |
| trash_object_list | Fetches the objects that are in the trash. |
| tree | Fetches the children of a node recursively. |
| tree_count | Fetches the number of children of a node recursively. |
| version | Fetches a specific version of an object. |
| version_count | Fetches the number of versions of a content object. |
| version_list | Fetches all the versions of a content object. |
| view_top_list | Fetches the most popular (most viewed) nodes. |
In this section
- access TRUE if access is allowed, FALSE otherwise.
- bookmarks An array of ezcontentbrowsebookmark objects.
- calendar Exponential Documentation
- can_instantiate_class_list Array of ezcontentclass objects or FALSE.
- can_instantiate_classes TRUE if the current user is allowed to create nodes, FALSE otherwise.
- class Exponential Documentation
- class_attribute The specified class attribute as an ezcontentclassattribute object or FALSE.
- class_attribute_list Array of ezcontentclassattribute objects or FALSE.
- collected_info_collection An ezinformationcollection object or FALSE.
- collected_info_count The number of collections (as an integer).
- collected_info_count_list An array of integers representing a count for every value.
- contentobject_attributes An array of ezcontentobjectattribute objects or FALSE.
- draft_count Exponential Documentation
- draft_version_list An array of ezcontentobjectversion objects or FALSE.
- keyword An array of hashes (see below) or FALSE.
- keyword_count The number of matching nodes (as an integer).
- list An array of ezcontentobjecttreenode objects or FALSE.
- list_count An integer (the number of nodes).
- locale_list An array of ezlocale objects.
- navigation_part An associative array (see below) or FALSE.
- navigation_parts An array of hashes (see below).
- node Exponential Documentation
- non_translation_list An array of ezlocale objects or FALSE.
- object An ezcontentobject object or FALSE.
- object_by_attribute Exponential Documentation
- object_count_by_user_id The number of objects (as an integer).
- pending_count An integer revealing the number of pending objects.
- pending_list An array of objects or FALSE.
- recent An array of ezcontentbrowserecent objects or FALSE.
- related_objects An array of ezcontentobject objects or a two-dimensional array if 'group_by_attribute' is TRUE. If no objects are found, the function will return FALSE.
- related_objects_count Exponential Documentation
- reverse_related_objects An array of ezcontentobject objects or FALSE.
- reverse_related_objects_count Exponential Documentation
- same_classattribute_node An array of ezcontentobjecttreenode objects or FALSE.
- search An array of hashes (see below) or FALSE.
- section_list An array of ezsection objects.
- tipafriend_top_list An array of ezcontentobjecttreenode objects or FALSE.
- translation_list An array of ezlocale objects.
- trash_count An integer revealing the number of objects that are in the trash.
- trash_object_list An array of ezcontentobject objects or FALSE.
- tree The "tree" function is very similar to the "list" fetch function. The only difference is that the tree function fetches child nodes recursively. The recursion depth can be controlled by the "depth" and "depth_operator" parameters. The rest of the parameters behave exactly in the same way as they do
- tree_count An integer (number of nodes).
- version An ezcontentobjectversion object or FALSE.
- version_count The number of versions of an object (as an integer).
- version_list An array of ezcontentobjectversion objects.
- view_top_list An array of ezcontentobjecttreenode objects.
Contributors
- Balazs Halasy Updated
Comments
Add a comment