Skip to the content
Documentation

section_list

No ratings yet

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.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.