OXID eShop CE
4.9.5
|
Public Member Functions | |
__construct () | |
assign ($dbRecord) | |
getGroups () | |
inGroup ($sGroupID) | |
delete ($sOxid=null) | |
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) | |
__get ($sName) | |
__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) | |
save () | |
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 | |
_update () | |
_insert () | |
_setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT) | |
Protected Member Functions inherited from oxI18n | |
_getFieldStatus ($sFieldName) | |
_getNonCachedFieldNames ($blForceFullStructure=false) | |
_getFieldLang ($sFieldName) | |
_setUpdateSeoOnFieldChange ($sField) | |
_getUpdateFieldsForTable ($sTable, $blUseSkipSaveFields=true) | |
_getUpdateFields ($blUseSkipSaveFields=true) | |
_getLanguageSetTables ($sCoreTableName=null) | |
_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 | |
$_oGroups = null | |
$_sClassName = 'oxnews' | |
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() |
News manager. Performs news text collection. News may be sorted by user categories (only these user may read news), etc.
Definition at line 9 of file oxnews.php.
oxNews::__construct | ( | ) |
Class constructor, initiates parent constructor (parent::oxI18n()).
Reimplemented from oxI18n.
Definition at line 31 of file oxnews.php.
|
protected |
Inserts object details to DB, returns true on success.
Reimplemented from oxI18n.
Definition at line 137 of file oxnews.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 159 of file oxnews.php.
|
protected |
Updates object information in DB.
Reimplemented from oxI18n.
Definition at line 124 of file oxnews.php.
oxNews::assign | ( | $dbRecord | ) |
Assigns object data.
string | $dbRecord | database record to be assigned |
Reimplemented from oxBase.
Definition at line 44 of file oxnews.php.
oxNews::delete | ( | $sOxid = null | ) |
Deletes object information from DB, returns true on success.
string | $sOxid | Object ID (default null) |
Reimplemented from oxI18n.
Definition at line 103 of file oxnews.php.
oxNews::getGroups | ( | ) |
Returns list of user groups assigned to current news object
Definition at line 60 of file oxnews.php.
oxNews::inGroup | ( | $sGroupID | ) |
Checks if this object is in group, returns true on success.
string | $sGroupID | user group ID |
Definition at line 82 of file oxnews.php.
|
protected |
Definition at line 17 of file oxnews.php.
|
protected |
Definition at line 24 of file oxnews.php.