CONTENIDO abstract code generator class.
| package | Core |
|---|---|
| subpackage | Content Type |
__construct()
_generate($contype) : string
stringThe generated codegenerate(int $idcat, int $idart, int $lang, int $client, bool $layout, bool $save, $contype) : string
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)
| deprecated | No longer needed. The backend chooses the debug mode. |
|---|
bool
setFrontendDebugOptions(array $debugOptions)
_debug(string $msg)
| deprecated | 2012-08-13 Use cDebug instead! |
|---|
string
_getContentTypeClassName(string $type) : string
stringContent type, e. g. CMS_HTMLHEAD
stringThe classname e. g. cContentTypeHtmlhead for content type CMS_HTMLHEAD_getContentTypeCodeFilePathName(string $type) : string
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
intnull_getTemplateData() : array
| global | array $cfg |
|---|
arrayAsooziative array like array('idlay' => (int), 'idtpl' => (int), 'name' => (string))_getUsedCmsTypesData() : array
.. vars being used by current article and language
arraylike $arr[type][typeid] = value;_processCmsContainer(int $containerId)
intContainer id
_processCmsTags(array $contentList, bool $saveKeywords)
.. tags within passed code
arrayAssoziative list of CMS variables
boolFlag to save collected keywords during replacement process.
_processCmsValueTags(int $containerId, string $containerCfg) : string
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()
_processCodeTitleTag()
_processFrontendDebug(int $containerId, array $module)
intContainer id
arrayRecordset as assoziative array of related module (container code)
_processNoConfigurationError()
_resetModule()
getArtLangObject()
$_client : int
$_cssData : string
$_db : \cDb
$_debug : bool
| deprecated | No longer needed. The backend chooses the debug mode. |
|---|
$_feDebugOptions : array
$_idart : int
$_idartlang : int
$_idcat : int
$_jsData : string
$_lang : int
$_layout : bool
$_layoutCode : string
Initially with container tags which will be replaced against module outputs.
$_moduleCode : string
$_modulePrefix : array
$_moduleSuffix : array
$_pageTitle : string
$_save : bool
$_tplName : string
$oArtLang : array