OXID eShop CE
4.9.10
|
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 () | |
Public Member Functions inherited from oxI18n | |
setLanguage ($iLang=null) | |
getLanguage () | |
setEnableMultilang ($blEmployMultilanguage) | |
isMultilingualField ($sFieldName) | |
isMultilang () | |
loadInLang ($iLanguage, $sOxid) | |
modifyCacheKey ($sCacheKey, $blOverride=false) | |
getAvailableInLangs () | |
getUpdateSqlFieldName ($sField) | |
Public Member Functions inherited from oxBase | |
getUseSkipSaveFields () | |
setUseSkipSaveFields ($blUseSkipSaveFields) | |
__set ($sName, $sValue) | |
__isset ($mVar) | |
__clone () | |
oxClone ($oObject) | |
getUpdateSeo () | |
setUpdateSeo ($blUpdateSeo) | |
init ($sTableName=null, $blForceAllFields=false) | |
getClassName () | |
getCoreTableName () | |
getId () | |
setId ($sOXID=null) | |
setShopId ($iShopId) | |
getShopId () | |
getViewName ($blForceCoreTableUsage=null) | |
disableLazyLoading () | |
isDerived () | |
setIsDerived ($blVal) | |
load ($sOXID) | |
isLoaded () | |
buildSelectString ($aWhere=null) | |
assignRecord ($sSelect) | |
getFieldData ($sFieldName) | |
getSelectFields ($blForceCoreTableUsage=null) | |
allowDerivedUpdate () | |
allowDerivedDelete () | |
exists ($sOXID=null) | |
getSqlActiveSnippet ($blForceCoreTable=null) | |
beforeUpdate ($sOXID=null) | |
onChange ($iAction=null, $sOXID=null) | |
setInList () | |
isOx () | |
isReadOnly () | |
setReadOnly ($blReadOnly) | |
getFieldNames () | |
addFieldName ($sName) | |
Public Member Functions inherited from oxSuperCfg | |
__call ($sMethod, $aArgs) | |
getConfig () | |
setConfig ($oConfig) | |
getSession () | |
setSession ($oSession) | |
getUser () | |
setUser ($oUser) | |
isAdmin () | |
setAdminMode ($blAdmin) |
Protected Member Functions | |
_loadFromDb ($sLoadId) | |
_setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT) | |
_getFieldData ($sFieldName) | |
Protected Member Functions inherited from oxI18n | |
_getFieldStatus ($sFieldName) | |
_getNonCachedFieldNames ($blForceFullStructure=false) | |
_getFieldLang ($sFieldName) | |
_setUpdateSeoOnFieldChange ($sField) | |
_getUpdateFieldsForTable ($sTable, $blUseSkipSaveFields=true) | |
_getUpdateFields ($blUseSkipSaveFields=true) | |
_update () | |
_getLanguageSetTables ($sCoreTableName=null) | |
_insert () | |
_getObjectViewName ($sTable, $sShopID=null) | |
_getAllFields ($blReturnSimple=false) | |
_addField ($sName, $sStatus, $sType=null, $sLength=null) | |
_canFieldBeNull ($sFieldName) | |
Protected Member Functions inherited from oxBase | |
_removeElement2ShopRelations ($sOxId) | |
_isInList () | |
_getTableFields ($sTable, $blReturnSimple=false) | |
_initDataStructure ($blForceFullStructure=false) | |
_getFieldLongName ($sFieldName) | |
_getFieldDefaultValue ($sFieldName) | |
_getUpdateFieldValue ($sFieldName, $oField) | |
_isDisabledFieldCache () | |
_addSkippedSaveFieldsForMapping () | |
_disableLazyLoadingForCaching () |
Protected Attributes | |
$_sClassName = 'oxcontent' | |
$_aSeoUrls = array() | |
$_sParentCatId = null | |
$_blExpanded = null | |
$_blIsSeoObject = true | |
$_sCategoryId | |
Protected Attributes inherited from oxI18n | |
$_sClassName = 'oxI18n' | |
$_iLanguage = null | |
$_blEmployMultilanguage = true | |
Protected Attributes inherited from oxBase | |
$_sOXID = null | |
$_iShopId = null | |
$_blIsSimplyClonable = true | |
$_sClassName = 'oxbase' | |
$_sCoreTable = null | |
$_sViewTable = null | |
$_aFieldNames = array('oxid' => 0) | |
$_sCacheKey = null | |
$_blUseLazyLoading = false | |
$_aSkipSaveFields = array('oxtimestamp') | |
$_blUseSkipSaveFields = true | |
$_sExistKey = 'oxid' | |
$_blIsDerived = null | |
$_blIsSeoObject = false | |
$_blUpdateSeo = true | |
$_blReadOnly = false | |
$_blIsInList = false | |
$_isLoaded = false | |
$_aInnerLazyCache = null | |
$_blEmployMultilanguage = false |
Additional Inherited Members | |
Static Protected Attributes inherited from oxBase | |
static | $_blDisableFieldCaching = array() |
Content manager. Base object for content pages
Definition at line 8 of file oxcontent.php.
oxContent::__construct | ( | ) |
Class constructor, initiates parent constructor (parent::oxI18n()).
Reimplemented from oxI18n.
Definition at line 73 of file oxcontent.php.
oxContent::__get | ( | $sName | ) |
Extra getter to guarantee compatibility with templates.
string | $sName | parameter name |
Reimplemented from oxBase.
Definition at line 60 of file oxcontent.php.
|
protected |
Get field data
string | $sFieldName | name of the field which value to get |
Definition at line 341 of file oxcontent.php.
|
protected |
Get data from db.
string | $sLoadId | id |
Definition at line 121 of file oxcontent.php.
|
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 |
Reimplemented from oxBase.
Definition at line 325 of file oxcontent.php.
oxContent::assign | ( | $dbRecord | ) |
Replace the "&" into "&" and call base class.
array | $dbRecord | database record |
Reimplemented from oxBase.
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) |
Reimplemented from oxI18n.
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.
Reimplemented from oxBase.
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.
|
protected |
Definition at line 23 of file oxcontent.php.
|
protected |
Definition at line 37 of file oxcontent.php.
|
protected |
Definition at line 44 of file oxcontent.php.
|
protected |
Definition at line 51 of file oxcontent.php.
|
protected |
Definition at line 16 of file oxcontent.php.
|
protected |
Definition at line 30 of file oxcontent.php.