contenido\plugins\frontendlogic\category\category.php
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
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.
- Parent(s)
- \FrontendLogic
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 |