Caution: This documentation is for eZ Publish legacy, 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.

sitedesign_list

Summary

Fetches the names of the currently used designs.

Usage

fetch( 'layout', 'sitedesign_list' )

Returns

An array of strings containing the design names.

Description

This function fetches the different designs that are used by the current siteaccess. The function returns an array of strings containing the names of the designs.

Examples

Example 1

{def $designs=fetch( 'layout', 'sitedesign_list' )}
 
{foreach $designs as $design}
    {$design} <br />
{/foreach}

Outputs the names of the designs that are used by the current siteaccess.

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

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


Comments

There are no comments.