contenido\plugins\frontendlogic\category\category.php

Show: PublicProtectedPrivateinherited
Table of Contents
Project: Contenido Content Management System

Description:

Requirements:

Author
Andreas Lindner, Unknown  
Con_php_req
5.0  
Copyright
four for business AG  
License
http://www.contenido.org/license/LIZENZ.txt  
Link
http://www.4fb.de  
Link
{@internal created modified 2008-08-06, Ingo van Peeren - replaced genericdb-code due to performance issues (ticket #) $Id: category.php 737 2008-08-27 10:13:02Z timo.trautmann $: }}  
Package
Contenido Backend classes  
Version
1.1.1  

\frontendlogic_category

Package: Default
FrontendLogic: This is the base class for all frontend related logic.

Basically, the class FrontendLogic is the base class for all your objects in the frontend. Your child classes define how your objects are named, which actions and items they contain and which item type they've got.

A word on actions: Each single object of a FrontendLogic subclass has the same amount of actions. You can't have a different set of actions for different objects of the same type.

Parent(s)
\FrontendLogic

Methods

methodpublicgetFriendlyName() : string

getFriendlyName: Returns the friendly (e.g.

display) name of your objects.

Returns
TypeDescription
stringName of the object
methodpubliclistActions() : array

listActions: Lists all actions

The returned array has the format $actionname => $actiondescription

Returns
TypeDescription
arrayArray of all actions
methodpubliclistItems() : array

listItems: Lists all available items

The returned array has the format $itemid => $itemname

Returns
TypeDescription
arrayArray of items
Documentation was generated by phpDocumentor 2.0.0a12.