Skip to the content
Documentation

class

No ratings yet

Summary

Provides views for managing classes, class groups, etc.

Description

This module provides several interfaces that can be used to view and manage the content classes and class groups that are present in the system. The views that the module provides are used by the "Class" section of the "Setup" part of the administration interface.

Fetch functions

Name Summary
attribute_list Fetches the attributes of a class.
latest_list Fetches the most recently modified classes.
list Fetches a collection of classes.
override_template_list Fetches the override rules associated with a class.

Views

Name Summary
classlist Provides an interface for generating a class overview for a class group.
copy Provides an interface for copying a role.
down Provides an interface for moving an attribute to a lower position.
edit Provides an interface for editing a class.
groupedit Provides an interface for editing a class group.
grouplist Provides an interface for generating an overview of the class groups.
removeclass Provides an interface to the class removal mechanism.
removegroup Provides an interface to the class group removal mechanism.
up Provides an interface for moving an attribute to a higher position.
view Provides an interface for viewing a class.

Added for Exponential 6.0.15: views

Name Summary
datatype  
translation  

In this section

Contributors

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. list_by_groups fetch function

    André R. ·

    There is also a list_by_groups fetch function.
    Definition:

    fetch( 'class', 'list_by_groups', hash(  'group_filter', false|array ,
                                         [ 'group_filter_type',  'include'|exclude  ] ) )

    group_filter should be array of class group id's
    You can use ini settings from [ClassGroupIDs] in content.ini to get id's.
    For real world example, see design/admin(2)/templates/contentstructuremenu/content_structure_menu_dynamic.tpl
    It was probably added in 3.10, as dynamic csm was added then and this is only place it is currently used.

Comments

Add a comment

Comments are read by a moderator before they appear.