ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

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.