ibexa

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

object

Summary

Fetches a section.

Usage

fetch( 'section', 'object', hash( 'section_id', section_id ) )

Parameters

NameTypeDescriptionRequired
section_id integer The ID number of the section that should be fetched. Yes.

Returns

An ezsection object or FALSE.

Description

This function fetches an object that represents a section. The "section_id" parameter must be a valid section ID number. The function returns an ezsection object. If an invalid ID number is specified, the function will return FALSE.

Examples

Example 1

{def $section=fetch( 'section', 'object', hash( 'section_id', 13 ) )}
{$section.name|wash}

Outputs the name of section number 13.

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

Balazs Halasy (29/04/2005 9:11 am)


Comments

There are no comments.