Class cCodeGeneratorAbstract
Abstract CONTENIDO 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
|
|
public
string
|
|
abstract public
string
|
|
protected
integer|null
|
#
_getTemplateConfigurationId( )
Returns the template configuration id, either by configured article or by configured category. |
abstract protected
|
#
_processNoConfigurationError( integer $idcatart )
Will be invoked, if code generation wasn't able to find a configured article or category. |
protected
array
|
|
protected
|
#
_processCmsTags( array $contentList, boolean $saveKeywords = true, boolean $editable = 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) by 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 by the parsed container code (module code). |
protected
array
|
#
_getUsedCmsTypesData( boolean $editable = true, integer|null $version = NULL )
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. |
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. Usually from article language table. |
protected
string
|
$_layoutCode | '' |
#
Layout code. Initially with container tags which will be replaced by module output. |
protected
array
|
$_modulePrefix | array() |
#
Module output code prefix. |
protected
string
|
$_moduleCode | '' |
#
Module output code. |
protected
array
|
$_moduleSuffix | array() |
#
Module output code suffix. |
protected
|
$_oArtLang |
|
#
Article language. |