contenido\classes\class.backend.php
Project:
Contenido Content Management System
Description: Controls all Contenido backend actions
Requirements:
- Author
- Jan Lengowski
- 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, Dominik Ziegler, add security fix $Id: class.backend.php 528 2008-07-02 13:29:28Z frederic.schneider $: }}
- Version
- 0.1.0
\Contenido_Backend
Package: Default
Parameters
Returns
Parameters


Properties
Methods

getCode( $action) : \$actionChecks if choosen action exists.
If so, execute/eval it.
| Name | Type | Description |
|---|---|---|
| $action | String Action to execute |
| Type | Description |
|---|---|
| \$action | String Code for selected Action |

getFile( $which) : voidReturns the specified file path.
Distinction between 'inc' and 'main' files.
'inc' => Required file like functions/classes etc. 'main' => Main file
| Name | Type | Description |
|---|---|---|
| $which | String 'inc' / 'main' |

log( $idcat, $idart, $client, $lang, $idaction) : voidCreates a log entry for the specified parameters.
Parameters
| Name | Type | Description |
|---|---|---|
| $idcat | Category-ID | |
| $idart | Article-ID | |
| $client | Client-ID | |
| $lang | Language-ID | |
| $idaction |

select( $area) : Loads all required data from the DB and stores it in the $actions and $files array
Parameters
| Name | Type | Description |
|---|---|---|
| $area | string selected area |