Class cCodeGeneratorAbstract
CONTENIDO abstract code generator class.
Direct known subclasses
cCodeGeneratorStandardPackage: Core\ContentType
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc <murat@purc.de>
Located at classes/code_generator/class.code.generator.abstract.php
public
|
|
public
|
#
setFrontendDebugOptions( array $debugOptions )
Setter for frontend debug options (see $frontend_debug in __FRONTEND_PATH__/data/config/config.php located in clients frontend directory) |
public
string
|
|
abstract public
string
|
|
protected
integer|null
|
#
_getTemplateConfigurationId( )
Returns the template configuration id, either by configured article or by configured category. |
abstract protected
|
|
protected
array
|
|
protected
|
#
_processCmsTags( array $contentList, boolean $saveKeywords = true )
Processes replacements of all existing CMS_... tags within passed code |
abstract protected
|
|
abstract protected
|
|
protected
string
|
#
_processCmsValueTags( integer $containerNumber, string $containerCfg )
Replaces all container/module configuration tags (CMS_VALUE[n] values) against their settings. |
protected
|
#
_processFrontendDebug( integer $containerNumber, array $module )
Extends container code by adding several debug features, if enabled and configured. |
protected
|
#
_processCmsContainer( integer $containerNumber )
Replaces container tag in layout against the parsed container code (module code). |
protected
array
|
#
_getUsedCmsTypesData( )
Returns array of all CMS_... vars being used by current article and language |
protected
|
|
protected
string
|
|
protected
string
|
#
_getContentTypeCodeFilePathName( string $type )
Returns the full path to the include file name of a content type. |
protected
|
protected
|
$_db |
|
#
CONTENIDO database instance |
protected
array
|
$_feDebugOptions | array() |
#
Frontend debug options, see $frontend_debug in __FRONTEND_PATH__/data/config/config.php |
protected
string
|
$_cssData | '' |
#
Collected CSS data for current template |
protected
string
|
$_jsData | '' |
#
Collected JS data for current template |
protected
string
|
$_tplName | '' |
#
Template name |
protected
integer
|
$_idcat |
|
#
Category id |
protected
integer
|
$_idart |
|
#
Article id |
protected
integer
|
$_lang |
|
#
Language id |
protected
integer
|
$_client |
|
#
Client id |
protected
boolean
|
$_layout |
|
#
Flag to process layout |
protected
boolean
|
$_save |
|
#
Flag to persist generated code |
protected
integer
|
$_idartlang |
|
#
Article language id |
protected
string
|
$_pageTitle |
|
#
Page title (generally from article language table) |
protected
string
|
$_layoutCode | '' |
#
Layout code. Initially with container tags which will be replaced against module outputs. |
protected
array
|
$_modulePrefix | array() |
#
Module output code prefix |
protected
string
|
$_moduleCode | '' |
#
Module output code |
protected
array
|
$_moduleSuffix | array() |
#
Module output code suffix |
protected
|
$_oArtLang |
|
#
Module output code suffix |