Caution: This documentation is for Exponential, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

section_list

Summary

Fetches the available sections.

Usage

fetch( 'content', 'section_list' )

Returns

An array of ezsection objects.

Description

This function fetches all the available sections. An array of ezsection objects will be returned.

Examples

Example 1

{def $sections=fetch( 'content', 'section_list' )}
{foreach $sections as $section}
    {$section.name} <br />
{/foreach}

Outputs the names of all the available sections.

Balazs Halasy (06/02/2004 12:12 pm)

Balazs Halasy (29/04/2005 8:59 am)


Comments

There are no comments.