Path

ez.no / exponential / documentation / reference / data fetching / class / override_template_list


override_template_list

Summary

Finds all override templates which relates a given class

Usage

fetch( 'class', 'override_template_list',
       hash( 'class_id', _id ) )

Parameters

NameTypeDescriptionRequired
class_id integer ID of class to check Yes.

Returns

An array with overrides that matched the class

Description

Will figure out which override templates relates to the specified class ID and return an array of override structures.
Each structure is an array with these entries

  • siteaccess - Which siteaccess it is for
  • block - The name of the block (from the INI file)
  • source - The path to the original template
  • target - The path to the override template

Examples

Templates relating to folder class.

{section var=override loop=fetch( 'class', 'override_template_list',

                                 hash( 'class_id', 1 ) )}

{$override.target} ({$override.source})

{/section}

Comments

Log in or create a user account to comment.

Contents

Reference

Database diagram
Template operators
Template functions
Data fetching
    Class
       override_template_list
       attribute_list
       latest_list
       list
    Content
    Collaboration
    Layout
    Notification
    Package
    Section
    Shop
    URL
    User
Modules
XML tags


Created

01/06/2004
7:00:12 pm
by Jan Borsodi

Last updated

01/06/2004
7:00:12 pm
by Jan Borsodi

Authors

Jan Borsodi



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.