list

Summary

Fetch class list.

Usage

fetch( 'class', 'list', hash( [ 'class_filter', array( [ class_id | class_identifier [,
                                                         class_id | class_identifier ] [, ... ] ] ) ] ) )

Parameters

NameTypeDescriptionRequired
class_id integer Class ID no
class_identifier string Class identifier no
...

Returns

Array containing classes.

Description

Fetch existing classes based on parameters in class_filter. If the class_filter is not specified, all classes are fetched.

Only class id or only class identifiers must be used.

Examples

{fetch( 'class', 'list', hash( 'class_filter', array( 1,

                                                     2 ) ) )}

returns array containing Folder and Article classes.

{fetch( 'class', 'list', hash( 'class_filter', array( 'folder',

                                                     'article' ) ) )}

returns array containing Folder and Article classes.

Comments

Log in or create a user account to comment.

Contents

Reference

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


Created

06/02/2004
12:54:26 pm
by Balazs Halasy

Last updated

06/02/2004
3:50:56 pm
by K�re K�hler H�vik

Authors

Balazs Halasy
K�re K�hler H�vik



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