Class cCodeGeneratorStandard
CONTENIDO standard code generator.
- cCodeGeneratorAbstract
- cCodeGeneratorStandard
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.standard.php
public
string
|
|
protected
|
#
_processNoConfigurationError( integer $idcatart )
Will be invoked, if code generation wasn't able to find a configured article or category. |
protected
string
|
#
_processCodeTitleTag( )
Processes and adds or replaces title tag for an article. Also calls the CEC 'Contenido.Content.CreateTitletag' for user defined title creation if none is given. |
protected
string
|
#
_processCodeMetaTags( )
Processes and adds or replaces all meta tags for an article. Also calls the CEC 'Contenido.Content.CreateMetatags' for user defined meta tags creation. |
protected
|
#
_saveGeneratedCode( integer $idcatart, string $code = '', boolean $flagCreateCode = true )
Saves the generated code if layout flag is false and save flag is true. |
protected
array
|
|
protected
array
|
#
_updateMetaRobots( array $metaTags, boolean|null $index, boolean|null $follow )
This method allows to set new values for the robots meta element. If NULL is given for $index or $follow, existing settings are not overwritten. If article should be indexed and followed, 'all' will be set. |
protected
array
|
#
_extractMetaElement( array $metaTags, string $type, string $nameOrEquiv )
Extracts a meta element of type $type (either 'name' or 'http-equiv') and name or HTTP header equivalent $nameOrEquiv from the given array of meta elements. Both, the reduced array of meta elements and the meta element to be extracted are returned as an array. If the meta element to be extracted could not be found, NULL will be returned in its place. |
protected
integer
|
$_idtplcfg |
|
$_client,
$_cssData,
$_db,
$_feDebugOptions,
$_idart,
$_idartlang,
$_idcat,
$_jsData,
$_lang,
$_layout,
$_layoutCode,
$_moduleCode,
$_modulePrefix,
$_moduleSuffix,
$_oArtLang,
$_pageTitle,
$_save,
$_tplName
|