Path

ez.no / ezpublish / documentation / reference / data fetching


Data fetching

These documentation pages are no longer maintained. Please visit the new documentation site.

This section covers the "fetch" template operator. Because of its size (number of modules and functions supported), the operator is documented outside the template operators section. This is simply done in order to give a better overview. The fetch operator is a generic operator that can be used to extract data from various eZ publish modules. It is mainly used to fetch data from the content module. However, the fetch operator can do a lot more than just that. The following example shows the usage of the fetch operator:

fetch( <module>, <function>, <parameters> )

where

  • "module" is the name of a kernel module
  • "function" is the name of a fetch-function inside the module
  • "parameters" is an associative array containing the function's parameters

Fetch-functions and their parameters are defined in the "kernel/[module]/function_definition.php" files. The following list reveals the modules that are compatible with the fetch operator.

Click on the name of a module to see which fetch functions it supports.
It is also possible to browse all the available fetch functions.

Comments

Contents

Reference

Database diagram
Template operators
Template functions
Data fetching
    Class
    Content
    Collaboration
    Layout
    Notification
    Package
    Section
    Shop
    URL
    User
Modules
XML tags


Created

06/02/2004
12:47:21 pm
by Balazs Halasy

Last updated

19/07/2004
11:01:39 am
by Kåre Køhler Høvik

Authors

Balazs Halasy
Kåre Køhler Høvik



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.