CONTENIDO standard code generator.
| package | Core |
|---|---|
| subpackage | Content Type |
__construct()
| inherited_from | \cCodeGeneratorAbstract::__construct() |
|---|
_generate($contype) : string
stringThe 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
boolFlag to persist generated code
\cInvalidArgumentException |
if an article with the given idart and idlang can not be loaded |
|---|
stringGenerated 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 |
|---|
arrayList of assozative meta tag values_getContentTypeClassName(string $type) : string
| inherited_from | \cCodeGeneratorAbstract::_getContentTypeClassName() |
|---|
stringContent type, e. g. CMS_HTMLHEAD
stringThe classname e. g. cContentTypeHtmlhead for content type CMS_HTMLHEAD_getContentTypeCodeFilePathName(string $type) : string
| inherited_from | \cCodeGeneratorAbstract::_getContentTypeCodeFilePathName() |
|---|
stringContent type, e. g. CMS_HTMLHEAD
stringThe 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() |
|---|
intnull_getTemplateData() : array
| global | array $cfg |
|---|---|
| inherited_from | \cCodeGeneratorAbstract::_getTemplateData() |
arrayAsooziative array like array('idlay' => (int), 'idtpl' => (int), 'name' => (string))_getUsedCmsTypesData() : array
.. vars being used by current article and language
| inherited_from | \cCodeGeneratorAbstract::_getUsedCmsTypesData() |
|---|
arraylike $arr[type][typeid] = value;_processCmsContainer(int $containerId)
| inherited_from | \cCodeGeneratorAbstract::_processCmsContainer() |
|---|
intContainer id
_processCmsTags(array $contentList, bool $saveKeywords)
.. tags within passed code
| inherited_from | \cCodeGeneratorAbstract::_processCmsTags() |
|---|
arrayAssoziative list of CMS variables
boolFlag to save collected keywords during replacement process.
_processCmsValueTags(int $containerId, string $containerCfg) : string
| inherited_from | \cCodeGeneratorAbstract::_processCmsValueTags() |
|---|
intContainer id
stringA string being formatted like concatenated query parameter, e. g. param1=value1¶m2=value2...
stringConcatenated 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() |
|---|
intContainer id
arrayRecordset 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 |
|---|
stringThe generated code
intCategory 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 |
|---|