OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxPricealarm Class Reference
+ Inheritance diagram for oxPricealarm:
+ Collaboration diagram for oxPricealarm:

Public Member Functions

 __construct ()
 getArticle ()
 getFPrice ()
 getPrice ()
 getTitle ()
 getPriceAlarmCurrency ()
 getFProposedPrice ()
 getPriceAlarmStatus ()
- 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)
 assign ($dbRecord)
 getClassName ()
 getCoreTableName ()
 getId ()
 setId ($sOXID=null)
 setShopId ($iShopId)
 getShopId ()
 getViewName ($blForceCoreTableUsage=null)
 modifyCacheKey ($sCacheKey, $blOverride=false)
 disableLazyLoading ()
 isDerived ()
 setIsDerived ($blVal)
 isMultilang ()
 load ($sOXID)
 isLoaded ()
 buildSelectString ($aWhere=null)
 assignRecord ($sSelect)
 getFieldData ($sFieldName)
 getSelectFields ($blForceCoreTableUsage=null)
 delete ($sOxId=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)
 getLanguage ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _insert ()
- Protected Member Functions inherited from oxBase
 _setUpdateSeoOnFieldChange ($sField)
 _removeElement2ShopRelations ($sOxId)
 _isInList ()
 _getObjectViewName ($sTable, $sShopID=null)
 _getTableFields ($sTable, $blReturnSimple=false)
 _getAllFields ($blReturnSimple=false)
 _initDataStructure ($blForceFullStructure=false)
 _getNonCachedFieldNames ($blForceFullStructure=false)
 _getFieldStatus ($sFieldName)
 _addField ($sName, $iStatus, $sType=null, $sLength=null)
 _getFieldLongName ($sFieldName)
 _setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT)
 _canFieldBeNull ($sFieldName)
 _getFieldDefaultValue ($sFieldName)
 _getUpdateFieldValue ($sFieldName, $oField)
 _getUpdateFields ($blUseSkipSaveFields=true)
 _update ()
 _isDisabledFieldCache ()
 _addSkippedSaveFieldsForMapping ()
 _disableLazyLoadingForCaching ()

Protected Attributes

 $_sClassName = 'oxpricealarm'
 $_oArticle = null
 $_fPrice = null
 $_dPrice = null
 $_sTitle = null
 $_oCurrency = null
 $_fProposedPrice = null
 $_iStatus = null
- 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()

Detailed Description

Pricealarm manager. Performs Pricealarm data/objects loading, deleting.

Definition at line 8 of file oxpricealarm.php.

Constructor & Destructor Documentation

oxPricealarm::__construct ( )

Class constructor, initiates parent constructor (parent::oxBase()), loads base shop objects.

Reimplemented from oxBase.

Definition at line 71 of file oxpricealarm.php.

Member Function Documentation

oxPricealarm::_insert ( )
protected

Inserts object data into DB, returns true on success.

Returns
bool

Reimplemented from oxBase.

Definition at line 82 of file oxpricealarm.php.

oxPricealarm::getArticle ( )

Loads pricealarm article

Returns
object

Definition at line 95 of file oxpricealarm.php.

oxPricealarm::getFPrice ( )

Returns formatted pricealarm article original price

Returns
string

Definition at line 113 of file oxpricealarm.php.

oxPricealarm::getFProposedPrice ( )

Returns formatted proposed price

Returns
string

Definition at line 204 of file oxpricealarm.php.

oxPricealarm::getPrice ( )

Returns pricealarm article original price

Returns
double

Definition at line 132 of file oxpricealarm.php.

oxPricealarm::getPriceAlarmCurrency ( )

Returns pricealarm currency object

Returns
object

Definition at line 179 of file oxpricealarm.php.

oxPricealarm::getPriceAlarmStatus ( )

Returns pricealarm status

Returns
integer

Definition at line 222 of file oxpricealarm.php.

oxPricealarm::getTitle ( )

Returns pricealarm article full title

Returns
string

Definition at line 157 of file oxpricealarm.php.

Member Data Documentation

oxPricealarm::$_dPrice = null
protected

Definition at line 37 of file oxpricealarm.php.

oxPricealarm::$_fPrice = null
protected

Definition at line 30 of file oxpricealarm.php.

oxPricealarm::$_fProposedPrice = null
protected

Definition at line 58 of file oxpricealarm.php.

oxPricealarm::$_iStatus = null
protected

Definition at line 65 of file oxpricealarm.php.

oxPricealarm::$_oArticle = null
protected

Definition at line 23 of file oxpricealarm.php.

oxPricealarm::$_oCurrency = null
protected

Definition at line 51 of file oxpricealarm.php.

oxPricealarm::$_sClassName = 'oxpricealarm'
protected

Definition at line 16 of file oxpricealarm.php.

oxPricealarm::$_sTitle = null
protected

Definition at line 44 of file oxpricealarm.php.


The documentation for this class was generated from the following file: