contenido\classes\class.frontend.logic.php

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

Description: Frontend logic base class

Requirements:

Author
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
http://www.contenido.org  
Package
Contenido Backend classes  
Since
file available since contenido release <= 4.6 {@internal created unknown modified 2008-06-30, Frederic Schneider, add security fix $Id: class.frontend.logic.php 425 2008-06-30 14:53:17Z frederic.schneider $: }}  
Version
1.2.1  

\FrontendLogic

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.

Children
\frontendlogic_category

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.