CONTENIDO standard code generator.
package | Core |
---|---|
subpackage | Content Type |
__construct()
inherited_from | \cCodeGeneratorAbstract::__construct() |
---|
_generate($contype) : string
string
The generated codegenerate(int $idcat, int $idart, int $lang, int $client, bool $layout, bool $save, $contype) : string
inherited_from | \cCodeGeneratorAbstract::generate() |
---|
int
int
int
int
bool
bool
Flag to persist generated code
\cInvalidArgumentException |
if an article with the given idart and idlang can not be loaded |
---|
string
Generated code or error code '0601' if no template
configuration was found for category or article.setDebug(bool $debug)
inherited_from | \cCodeGeneratorAbstract::setDebug() |
---|
bool
setFrontendDebugOptions(array $debugOptions)
inherited_from | \cCodeGeneratorAbstract::setFrontendDebugOptions() |
---|
_debug(string $msg)
inherited_from | \cCodeGeneratorAbstract::_debug() |
---|
string
_getBasicMetaTags() : array
global | array $encoding |
---|
array
List of assozative meta tag values_getContentTypeClassName(string $type) : string
inherited_from | \cCodeGeneratorAbstract::_getContentTypeClassName() |
---|
string
Content type, e. g. CMS_HTMLHEAD
string
The classname e. g. cContentTypeHtmlhead for content type CMS_HTMLHEAD_getContentTypeCodeFilePathName(string $type) : string
inherited_from | \cCodeGeneratorAbstract::_getContentTypeCodeFilePathName() |
---|
string
Content type, e. g. CMS_HTMLHEAD
string
The full path e. g. {path_to_contenido_includes}/type/code/include.CMS_HTMLHEAD.code.php
for content type CMS_HTMLHEAD_getTemplateConfigurationId() : int
inherited_from | \cCodeGeneratorAbstract::_getTemplateConfigurationId() |
---|
int
null_getTemplateData() : array
global | array $cfg |
---|---|
inherited_from | \cCodeGeneratorAbstract::_getTemplateData() |
array
Asooziative array like array('idlay' => (int), 'idtpl' => (int), 'name' => (string))_getUsedCmsTypesData() : array
.. vars being used by current article and language
inherited_from | \cCodeGeneratorAbstract::_getUsedCmsTypesData() |
---|
array
like $arr[type][typeid] = value;_processCmsContainer(int $containerId)
inherited_from | \cCodeGeneratorAbstract::_processCmsContainer() |
---|
int
Container id
_processCmsTags(array $contentList, bool $saveKeywords)
.. tags within passed code
inherited_from | \cCodeGeneratorAbstract::_processCmsTags() |
---|
array
Assoziative list of CMS variables
bool
Flag to save collected keywords during replacement process.
_processCmsValueTags(int $containerId, string $containerCfg) : string
inherited_from | \cCodeGeneratorAbstract::_processCmsValueTags() |
---|
int
Container id
string
A string being formatted like concatenated query parameter, e. g. param1=value1¶m2=value2...
string
Concatenated PHP code containing CMS_VALUE variables and
their values_processCodeMetaTags()
Calls also the CEC 'Contenido.Content.CreateMetatags' for user defined meta tags creation.
_processCodeTitleTag()
Calls also the CEC 'Contenido.Content.CreateTitletag' for user defined title creation.
_processFrontendDebug(int $containerId, array $module)
inherited_from | \cCodeGeneratorAbstract::_processFrontendDebug() |
---|
int
Container id
array
Recordset as assoziative array of related module (container code)
_processNoConfigurationError()
Creates a error message as and writes this into the code cache table.
_resetModule()
inherited_from | \cCodeGeneratorAbstract::_resetModule() |
---|
_saveGeneratedCode(string $code, int $idcatart)
global | array $cfgClient |
---|
string
The generated code
int
Category article id
getArtLangObject()
inherited_from | \cCodeGeneratorAbstract::getArtLangObject() |
---|
$_client : int
inherited_from | \cCodeGeneratorAbstract::$$_client |
---|
$_cssData : string
inherited_from | \cCodeGeneratorAbstract::$$_cssData |
---|
$_debug : bool
inherited_from | \cCodeGeneratorAbstract::$$_debug |
---|
$_feDebugOptions : array
inherited_from | \cCodeGeneratorAbstract::$$_feDebugOptions |
---|
$_idart : int
inherited_from | \cCodeGeneratorAbstract::$$_idart |
---|
$_idartlang : int
inherited_from | \cCodeGeneratorAbstract::$$_idartlang |
---|
$_idcat : int
inherited_from | \cCodeGeneratorAbstract::$$_idcat |
---|
$_jsData : string
inherited_from | \cCodeGeneratorAbstract::$$_jsData |
---|
$_lang : int
inherited_from | \cCodeGeneratorAbstract::$$_lang |
---|
$_layout : bool
inherited_from | \cCodeGeneratorAbstract::$$_layout |
---|
$_layoutCode : string
Initially with container tags which will be replaced against module outputs.
inherited_from | \cCodeGeneratorAbstract::$$_layoutCode |
---|
$_moduleCode : string
inherited_from | \cCodeGeneratorAbstract::$$_moduleCode |
---|
$_modulePrefix : array
inherited_from | \cCodeGeneratorAbstract::$$_modulePrefix |
---|
$_moduleSuffix : array
inherited_from | \cCodeGeneratorAbstract::$$_moduleSuffix |
---|
$_pageTitle : string
inherited_from | \cCodeGeneratorAbstract::$$_pageTitle |
---|
$_save : bool
inherited_from | \cCodeGeneratorAbstract::$$_save |
---|
$_tplName : string
inherited_from | \cCodeGeneratorAbstract::$$_tplName |
---|
$oArtLang : array
inherited_from | \cCodeGeneratorAbstract::$$oArtLang |
---|