Public Member Functions | |
__get ($sName) | |
__construct () | |
getExpanded () | |
setCategoryId ($sCategoryId) | |
getCategoryId () | |
loadByIdent ($sLoadId) | |
getLoadId () | |
isActive () | |
assign ($dbRecord) | |
getBaseSeoLink ($iLang) | |
getLink ($iLang=null) | |
getBaseStdLink ($iLang, $blAddId=true, $blFull=true) | |
getStdLink ($iLang=null, $aParams=array()) | |
delete ($sOXID=null) | |
save () | |
getTermsVersion () | |
setType ($sValue) | |
getType () | |
setTitle ($sValue) | |
getTitle () | |
Protected Member Functions | |
_loadFromDb ($sLoadId) | |
_setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT) | |
_getFieldData ($sFieldName) | |
Protected Attributes | |
$_sClassName = 'oxcontent' | |
$_aSeoUrls = array() | |
$_sParentCatId = null | |
$_blExpanded = null | |
$_blIsSeoObject = true | |
$_sCategoryId |
Content manager. Base object for content pages
Definition at line 8 of file oxcontent.php.
oxContent.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
Definition at line 73 of file oxcontent.php.
oxContent.__get | ( | $ | sName | ) |
Extra getter to guarantee compatibility with templates.
string | $sName parameter name |
Definition at line 60 of file oxcontent.php.
oxContent._getFieldData | ( | $ | sFieldName | ) | [protected] |
Get field data
string | $sFieldName name of the field which value to get |
Definition at line 341 of file oxcontent.php.
oxContent._loadFromDb | ( | $ | sLoadId | ) | [protected] |
Get data from db.
string | $sLoadId id |
Definition at line 121 of file oxcontent.php.
oxContent._setFieldData | ( | $ | sFieldName, | |
$ | sValue, | |||
$ | iDataType = oxField::T_TEXT | |||
) | [protected] |
Sets data field value.
string | $sFieldName index OR name (eg. 'oxarticles__oxtitle') of a data field to set | |
string | $sValue value of data field | |
int | $iDataType field type |
Definition at line 325 of file oxcontent.php.
oxContent.assign | ( | $ | dbRecord | ) |
Replace the "&" into "&" and call base class.
array | $dbRecord database record |
Definition at line 204 of file oxcontent.php.
oxContent.delete | ( | $ | sOXID = null |
) |
Delete this object from the database, returns true on success.
string | $sOXID Object ID(default null) |
Definition at line 353 of file oxcontent.php.
oxContent.getBaseSeoLink | ( | $ | iLang | ) |
Returns raw content seo url
int | $iLang language id |
Definition at line 222 of file oxcontent.php.
oxContent.getBaseStdLink | ( | $ | iLang, | |
$ | blAddId = true , |
|||
$ | blFull = true | |||
) |
Returns base dynamic url: shopurl/index.php?cl=details
int | $iLang language id | |
bool | $blAddId add current object id to url or not | |
bool | $blFull return full including domain name [optional] |
Implements oxIUrl.
Definition at line 260 of file oxcontent.php.
oxContent.getCategoryId | ( | ) |
oxContent.getExpanded | ( | ) |
Returns the expanded state of the content category.
Definition at line 84 of file oxcontent.php.
oxContent.getLink | ( | $ | iLang = null |
) |
getLink returns link for this content in the frontend.
int | $iLang language id [optional] |
Implements oxIUrl.
Definition at line 234 of file oxcontent.php.
oxContent.getLoadId | ( | ) |
oxContent.getStdLink | ( | $ | iLang = null , |
|
$ | aParams = array() | |||
) |
Returns standard URL to product.
integer | $iLang language | |
array | $aParams additional params to use [optional] |
Implements oxIUrl.
Definition at line 307 of file oxcontent.php.
oxContent.getTermsVersion | ( | ) |
oxContent.getTitle | ( | ) |
oxContent.getType | ( | ) |
oxContent.isActive | ( | ) |
oxContent.loadByIdent | ( | $ | sLoadId | ) |
Loads Content by using field oxloadid instead of oxid.
string | $sLoadId content load ID |
Definition at line 162 of file oxcontent.php.
oxContent.save | ( | ) |
Save this Object to database, insert or update as needed.
Definition at line 373 of file oxcontent.php.
oxContent.setCategoryId | ( | $ | sCategoryId | ) |
oxContent.setTitle | ( | $ | sValue | ) |
Set title of content
string | $sValue title value |
Definition at line 425 of file oxcontent.php.
oxContent.setType | ( | $ | sValue | ) |
Set type of content.
string | $sValue type value |
Definition at line 405 of file oxcontent.php.
oxContent.$_aSeoUrls = array() [protected] |
Definition at line 23 of file oxcontent.php.
oxContent.$_blExpanded = null [protected] |
Definition at line 37 of file oxcontent.php.
oxContent.$_blIsSeoObject = true [protected] |
Definition at line 44 of file oxcontent.php.
oxContent.$_sCategoryId [protected] |
Definition at line 51 of file oxcontent.php.
oxContent.$_sClassName = 'oxcontent' [protected] |
Definition at line 16 of file oxcontent.php.
oxContent.$_sParentCatId = null [protected] |
Definition at line 30 of file oxcontent.php.