CONTENIDO abstract code generator class.
package | Core |
---|---|
subpackage | Content Type |
__construct()
_generate($contype) : string
string
The generated codegenerate(int $idcat, int $idart, int $lang, int $client, bool $layout, bool $save, $contype) : string
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)
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
string
Content type, e. g. CMS_HTMLHEAD
string
The classname e. g. cContentTypeHtmlhead for content type CMS_HTMLHEAD_getContentTypeCodeFilePathName(string $type) : string
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
int
null_getTemplateData() : array
global | array $cfg |
---|
array
Asooziative array like array('idlay' => (int), 'idtpl' => (int), 'name' => (string))_getUsedCmsTypesData() : array
.. vars being used by current article and language
array
like $arr[type][typeid] = value;_processCmsContainer(int $containerId)
int
Container id
_processCmsTags(array $contentList, bool $saveKeywords)
.. tags within passed code
array
Assoziative list of CMS variables
bool
Flag to save collected keywords during replacement process.
_processCmsValueTags(int $containerId, string $containerCfg) : string
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()
_processCodeTitleTag()
_processFrontendDebug(int $containerId, array $module)
int
Container id
array
Recordset 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