contenido\classes\class.frontend.logic.php
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
Returns
Returns
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


getFriendlyName() : string
getFriendlyName: Returns the friendly (e.g.
display) name of your objects.
Type | Description |
---|---|
string | Name of the object |


listActions() : array
listActions: Lists all actions
The returned array has the format $actionname => $actiondescription
Type | Description |
---|---|
array | Array of all actions |