OXID eShop CE  4.10.2
 All Classes Namespaces Files Functions Variables Pages
oxReview Class Reference
+ Inheritance diagram for oxReview:
+ Collaboration diagram for oxReview:

Public Member Functions

 __construct ()
 assign ($dbRecord)
 load ($oxId)
 loadList ($sType, $aIds, $blLoadEmpty=false, $iLoadInLang=null)
 getObjectType ()
 getObjectId ()
- 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)
 modifyCacheKey ($sCacheKey, $blOverride=false)
 disableLazyLoading ()
 isDerived ()
 setIsDerived ($blVal)
 isMultilang ()
 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

 $_blDisableShopCheck = true
 $_sClassName = 'oxreview'
- 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

Article review manager. Performs loading, updating, inserting of article review.

Definition at line 8 of file oxreview.php.

Constructor & Destructor Documentation

oxReview::__construct ( )

Class constructor, initiates parent constructor (parent::oxI18n()).

Reimplemented from oxBase.

Definition at line 28 of file oxreview.php.

Member Function Documentation

oxReview::_insert ( )
protected

Inserts object data fiels in DB. Returns true on success.

Returns
bool

Reimplemented from oxBase.

Definition at line 75 of file oxreview.php.

oxReview::assign (   $dbRecord)

Calls parent::assign and assigns review writer data

Parameters
array$dbRecorddatabase record
Returns
bool

Reimplemented from oxBase.

Definition at line 41 of file oxreview.php.

oxReview::getObjectId ( )

Retuns review object id

Returns
string

Definition at line 151 of file oxreview.php.

oxReview::getObjectType ( )

Retuns review object type

Returns
string

Definition at line 141 of file oxreview.php.

oxReview::load (   $oxId)

Loads object review information. Returns true on success.

Parameters
string$oxIdID of object to load
Returns
bool

Reimplemented from oxBase.

Definition at line 60 of file oxreview.php.

oxReview::loadList (   $sType,
  $aIds,
  $blLoadEmpty = false,
  $iLoadInLang = null 
)

get oxList of reviews for given object ids and type

Parameters
string$sTypetype of given ids
mixed$aIdsgiven object ids to load, can be array or just one id, given as string
boolean$blLoadEmptytrue if want to load empty text reviews
int$iLoadInLanglanguage to select for loading
Returns
oxList

Definition at line 94 of file oxreview.php.

Member Data Documentation

oxReview::$_blDisableShopCheck = true
protected

Definition at line 16 of file oxreview.php.

oxReview::$_sClassName = 'oxreview'
protected

Definition at line 23 of file oxreview.php.


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