Class Mage_Reports_Model_Mysql4_Event

Description

Report events resource model

Located in /Reports/Model/Mysql4/Event.php (line 34)

Mage_Core_Model_Resource_Abstract
   |
   --Mage_Core_Model_Mysql4_Abstract
      |
      --Mage_Reports_Model_Mysql4_Event
Method Summary
void applyLogToCollection ( $collection, int $eventTypeId, int $eventSubjectId, int $subtype, [array $skipIds = array()])
array getCurrentStoreIds ([ $predefinedStoreIds = null])
Mage_Reports_Model_Mysql4_Event updateCustomerType (Mage_Reports_Model_Event $model, int $visitorId, int $customerId, [array $types = array()])
void _construct ()
Variables
Methods
applyLogToCollection (line 80)

Add events log to a collection The collection id field is used without corellation, so it must be unique.

DESC ordering by event will be added to the collection

  • access: public
void applyLogToCollection ( $collection, int $eventTypeId, int $eventSubjectId, int $subtype, [array $skipIds = array()])
  • Varien_Data_Collection_Db $collection
  • int $eventTypeId
  • int $eventSubjectId
  • int $subtype
  • array $skipIds
clean (line 154)

Clean report event table

  • access: public
getCurrentStoreIds (line 110)

Obtain all current store ids, depending on configuration

  • access: public
array getCurrentStoreIds ([ $predefinedStoreIds = null])
  • array $predefinedStoreIds
updateCustomerType (line 54)

Update customer type after customer login

  • access: public
Mage_Reports_Model_Mysql4_Event updateCustomerType (Mage_Reports_Model_Event $model, int $visitorId, int $customerId, [array $types = array()])
_construct (line 40)

Initialize connection

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Resource_Abstract::_construct()
Resource initialization

Inherited Methods

Inherited From Mage_Core_Model_Mysql4_Abstract

Mage_Core_Model_Mysql4_Abstract::addUniqueField()
Mage_Core_Model_Mysql4_Abstract::afterLoad()
Mage_Core_Model_Mysql4_Abstract::delete()
Mage_Core_Model_Mysql4_Abstract::forsedSave()
Mage_Core_Model_Mysql4_Abstract::getChecksum()
Mage_Core_Model_Mysql4_Abstract::getIdFieldName()
Mage_Core_Model_Mysql4_Abstract::getMainTable()
Mage_Core_Model_Mysql4_Abstract::getReadConnection()
Mage_Core_Model_Mysql4_Abstract::getTable()
Mage_Core_Model_Mysql4_Abstract::getUniqueFields()
Mage_Core_Model_Mysql4_Abstract::getValueTable()
Mage_Core_Model_Mysql4_Abstract::hasDataChanged()
Mage_Core_Model_Mysql4_Abstract::load()
Mage_Core_Model_Mysql4_Abstract::resetUniqueField()
Mage_Core_Model_Mysql4_Abstract::save()
Mage_Core_Model_Mysql4_Abstract::unserializeFields()
Mage_Core_Model_Mysql4_Abstract::_afterDelete()
Mage_Core_Model_Mysql4_Abstract::_afterLoad()
Mage_Core_Model_Mysql4_Abstract::_afterSave()
Mage_Core_Model_Mysql4_Abstract::_beforeDelete()
Mage_Core_Model_Mysql4_Abstract::_beforeSave()
Mage_Core_Model_Mysql4_Abstract::_checkUnique()
Mage_Core_Model_Mysql4_Abstract::_getConnection()
Mage_Core_Model_Mysql4_Abstract::_getLoadSelect()
Mage_Core_Model_Mysql4_Abstract::_getReadAdapter()
Mage_Core_Model_Mysql4_Abstract::_getWriteAdapter()
Mage_Core_Model_Mysql4_Abstract::_init()
Mage_Core_Model_Mysql4_Abstract::_initUniqueFields()
Mage_Core_Model_Mysql4_Abstract::_prepareDataForSave()
Mage_Core_Model_Mysql4_Abstract::_prepareDataForTable()
Mage_Core_Model_Mysql4_Abstract::_prepareValueForSave()
Mage_Core_Model_Mysql4_Abstract::_serializeFields()
Mage_Core_Model_Mysql4_Abstract::_setMainTable()
Mage_Core_Model_Mysql4_Abstract::_setResource()

Inherited From Mage_Core_Model_Resource_Abstract

Mage_Core_Model_Resource_Abstract::__construct()
Mage_Core_Model_Resource_Abstract::addCommitCallback()
Mage_Core_Model_Resource_Abstract::beginTransaction()
Mage_Core_Model_Resource_Abstract::commit()
Mage_Core_Model_Resource_Abstract::formatDate()
Mage_Core_Model_Resource_Abstract::mktime()
Mage_Core_Model_Resource_Abstract::rollBack()
Mage_Core_Model_Resource_Abstract::_construct()
Mage_Core_Model_Resource_Abstract::_getReadAdapter()
Mage_Core_Model_Resource_Abstract::_getWriteAdapter()
Mage_Core_Model_Resource_Abstract::_serializeField()
Mage_Core_Model_Resource_Abstract::_unserializeField()
Class Constants

Documentation generated on Fri, 11 Feb 2011 17:02:20 +0200 by phpDocumentor 1.4.3