Public Member Functions | |
getViewId () | |
render () | |
getContentCategory () | |
showPlainTemplate () | |
getContentId () | |
getContent () | |
getBreadCrumb () | |
Protected Member Functions | |
_canShowContent ($sContentIdent) | |
_prepareMetaDescription ($sMeta, $iLength=200, $blDescTag=false) | |
_prepareMetaKeyword ($sKeywords, $blRemoveDuplicatedWords=true) | |
_getSeoObjectId () | |
_getSubject ($iLang) | |
_getTplName () | |
Protected Attributes | |
$_sContentId = null | |
$_oContent = null | |
$_sThisTemplate = 'page/info/content.tpl' | |
$_sThisPlainTemplate = 'page/info/content_plain.tpl' | |
$_oContentCat = null | |
$_aPsAllowedContents = array( "oxagb", "oxrightofwithdrawal", "oximpressum" ) |
CMS - loads pages and displays it
Definition at line 6 of file content.php.
Content._canShowContent | ( | $ | sContentIdent | ) | [protected] |
Checks if content can be shown
string | $sContentIdent ident of content to display |
Definition at line 100 of file content.php.
Content._getSeoObjectId | ( | ) | [protected] |
Returns active content id to load its seo meta info
Reimplemented from oxUBase.
Definition at line 187 of file content.php.
Content._getSubject | ( | $ | iLang | ) | [protected] |
returns object, assosiated with current view. (the object that is shown in frontend)
int | $iLang language id |
Reimplemented from oxUBase.
Definition at line 249 of file content.php.
Content._getTplName | ( | ) | [protected] |
Content._prepareMetaDescription | ( | $ | sMeta, | |
$ | iLength = 200 , |
|||
$ | blDescTag = false | |||
) | [protected] |
Returns current view meta data If $sMeta parameter comes empty, sets to it current content title
string | $sMeta category path | |
int | $iLength max length of result, -1 for no truncation | |
bool | $blDescTag if true - performs additional dublicate cleaning |
Reimplemented from oxUBase.
Definition at line 120 of file content.php.
Content._prepareMetaKeyword | ( | $ | sKeywords, | |
$ | blRemoveDuplicatedWords = true | |||
) | [protected] |
Returns current view keywords seperated by comma If $sKeywords parameter comes empty, sets to it current content title
string | $sKeywords data to use as keywords | |
bool | $blRemoveDuplicatedWords remove dublicated words |
Reimplemented from oxUBase.
Definition at line 137 of file content.php.
Content.getBreadCrumb | ( | ) |
Returns Bread Crumb - you are here page1/page2/page3...
Reimplemented from oxUBase.
Definition at line 284 of file content.php.
Content.getContent | ( | ) |
Template variable getter. Returns active content
Reimplemented from oxUBase.
Definition at line 230 of file content.php.
Content.getContentCategory | ( | ) |
If current content is assigned to category returns its object
Reimplemented from oxUBase.
Definition at line 150 of file content.php.
Content.getContentId | ( | ) |
Template variable getter. Returns active content id. If no content id specified, uses "impressum" content id
Reimplemented from oxUBase.
Definition at line 198 of file content.php.
Content.getViewId | ( | ) |
Returns prefix ID used by template engine.
Reimplemented from oxUBase.
Definition at line 49 of file content.php.
Content.render | ( | ) |
Executes parent.render(), passes template variables to template engine and generates content. Returns the name of template to render content._sThisTemplate
Reimplemented from oxUBase.
Definition at line 64 of file content.php.
Content.showPlainTemplate | ( | ) |
Returns true if user forces to display plain template or if private sales switched ON and user is not logged in
Definition at line 168 of file content.php.
Content.$_aPsAllowedContents = array( "oxagb", "oxrightofwithdrawal", "oximpressum" ) [protected] |
Definition at line 42 of file content.php.
Content.$_oContent = null [protected] |
Default content
Reimplemented from oxUBase.
Definition at line 18 of file content.php.
Content.$_oContentCat = null [protected] |
Definition at line 36 of file content.php.
Content.$_sContentId = null [protected] |
Default content id
Reimplemented from oxUBase.
Definition at line 12 of file content.php.
Content.$_sThisPlainTemplate = 'page/info/content_plain.tpl' [protected] |
Definition at line 30 of file content.php.
Content.$_sThisTemplate = 'page/info/content.tpl' [protected] |
Reimplemented from oxView.
Definition at line 24 of file content.php.