contenido\classes\class.backend.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

Properties

>VPropertypublicarray $actions = array()
Possible actions
Default valuearray()Details
Type
array
>VPropertypublicstring $area = ''
Save area
Default value''Details
Type
string
>VPropertypublic$debug = 0
Debug flag
Default value0Details
Type
n/a
>VPropertypublicarray $errors = array()
Errors
Default valuearray()Details
Type
array
>VPropertypublicarray $files = array()
Files
Default valuearray()Details
Type
array
>VPropertypublicint $frame = 0
Stores the frame number
Default value0Details
Type
int

Methods

methodpublicContenido_Backend() : void

Constructor

methodpublicgetCode( $action) : \$action

Checks if choosen action exists.

If so, execute/eval it.

Parameters
NameTypeDescription
$action

String Action to execute

Returns
TypeDescription
\$actionString Code for selected Action
methodpublicgetFile( $which) : void

Returns the specified file path.

Distinction between 'inc' and 'main' files.

'inc' => Required file like functions/classes etc. 'main' => Main file

Parameters
NameTypeDescription
$which

String 'inc' / 'main'

methodpubliclog( $idcat,  $idart,  $client,  $lang,  $idaction) : void

Creates a log entry for the specified parameters.

Parameters
NameTypeDescription
$idcat

Category-ID

$idart

Article-ID

$client

Client-ID

$lang

Language-ID

$idaction
methodpublicselect( $area) :

Loads all required data from the DB and stores it in the $actions and $files array

Parameters
NameTypeDescription
$area

string selected area

methodpublicsetFrame( $frame_nr = 0) : void

Set the frame number in which the file is loaded

Parameters
NameTypeDescription
$frame_nr
Documentation was generated by phpDocumentor 2.0.0a12.