Class Mage_Log_Model_Visitor

Description

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Located in /Log/Model/Visitor.php (line 28)

Varien_Object
   |
   --Mage_Core_Model_Abstract
      |
      --Mage_Log_Model_Visitor
Class Constant Summary
Variable Summary
Method Summary
static int getOnlineMinutesInterval ()
void addCustomerData ( $data)
void addIpData ( $data)
void addQuoteData ( $data)
Mage_Log_Model_Visitor bindCustomerLogin (Varien_Event_Observer $observer)
Mage_Log_Model_Visitor bindCustomerLogout (Varien_Event_Observer $observer)
void bindQuoteCreate ( $observer)
void bindQuoteDestroy ( $observer)
void getFirstVisitAt ()
void getLastVisitAt ()
string getUrl ()
Mage_Log_Model_Visitor initByRequest (Varien_Event_Observer $observer)
void isModuleIgnored ( $observer)
Mage_Log_Model_Visitor saveByRequest (Varien_Event_Observer $observer)
void _construct ()
Variables
Methods
static method getOnlineMinutesInterval (line 93)

Return Online Minutes Interval

  • return: Minutes Interval
  • access: public
static int getOnlineMinutesInterval ()
addCustomerData (line 240)
  • access: public
void addCustomerData ( $data)
  • $data
addIpData (line 233)

Methods for research (depends from customer online admin section)

  • access: public
void addIpData ( $data)
  • $data
addQuoteData (line 256)
  • access: public
void addQuoteData ( $data)
  • $data
bindCustomerLogin (line 186)

Bind customer data when customer login

Used in event "customer_login"

  • access: public
Mage_Log_Model_Visitor bindCustomerLogin (Varien_Event_Observer $observer)
  • Varien_Event_Observer $observer
bindCustomerLogout (line 203)

Bind customer data when customer logout

Used in event "customer_logout"

  • access: public
Mage_Log_Model_Visitor bindCustomerLogout (Varien_Event_Observer $observer)
  • Varien_Event_Observer $observer
bindQuoteCreate (line 211)
  • access: public
void bindQuoteCreate ( $observer)
  • $observer
bindQuoteDestroy (line 222)
  • access: public
void bindQuoteDestroy ( $observer)
  • $observer
getFirstVisitAt (line 113)
  • access: public
void getFirstVisitAt ()
getLastVisitAt (line 121)
  • access: public
void getLastVisitAt ()
getUrl (line 106)

Retrieve url from model data

  • access: public
string getUrl ()
initByRequest (line 137)

Initialization visitor information by request

Used in event "controller_action_predispatch"

  • access: public
Mage_Log_Model_Visitor initByRequest (Varien_Event_Observer $observer)
  • Varien_Event_Observer $observer
initServerData (line 67)

Initialize visitor information from server data

  • access: public
Mage_Log_Model_Visitor initServerData ()
isModuleIgnored (line 266)
  • access: public
void isModuleIgnored ( $observer)
  • $observer
saveByRequest (line 162)

Saving visitor information by request

Used in event "controller_action_postdispatch"

  • access: public
Mage_Log_Model_Visitor saveByRequest (Varien_Event_Observer $observer)
  • Varien_Event_Observer $observer
_construct (line 39)

Onject initialization

  • access: protected
void _construct ()
_getSession (line 57)

Retrieve session object

  • access: protected

Inherited Methods

Inherited From Mage_Core_Model_Abstract

Mage_Core_Model_Abstract::afterCommitCallback()
Mage_Core_Model_Abstract::afterLoad()
Mage_Core_Model_Abstract::cleanModelCache()
Mage_Core_Model_Abstract::clearInstance()
Mage_Core_Model_Abstract::delete()
Mage_Core_Model_Abstract::getCacheIdTags()
Mage_Core_Model_Abstract::getCacheTags()
Mage_Core_Model_Abstract::getCollection()
Mage_Core_Model_Abstract::getEntityId()
Mage_Core_Model_Abstract::getId()
Mage_Core_Model_Abstract::getIdFieldName()
Mage_Core_Model_Abstract::getResource()
Mage_Core_Model_Abstract::getResourceCollection()
Mage_Core_Model_Abstract::getResourceName()
Mage_Core_Model_Abstract::isObjectNew()
Mage_Core_Model_Abstract::load()
Mage_Core_Model_Abstract::save()
Mage_Core_Model_Abstract::setId()
Mage_Core_Model_Abstract::_afterDelete()
Mage_Core_Model_Abstract::_afterDeleteCommit()
Mage_Core_Model_Abstract::_afterLoad()
Mage_Core_Model_Abstract::_afterSave()
Mage_Core_Model_Abstract::_afterSaveCommit()
Mage_Core_Model_Abstract::_beforeDelete()
Mage_Core_Model_Abstract::_beforeLoad()
Mage_Core_Model_Abstract::_beforeSave()
Mage_Core_Model_Abstract::_clearData()
Mage_Core_Model_Abstract::_clearReferences()
Mage_Core_Model_Abstract::_getEventData()
Mage_Core_Model_Abstract::_getResource()
Mage_Core_Model_Abstract::_hasModelChanged()
Mage_Core_Model_Abstract::_init()
Mage_Core_Model_Abstract::_protectFromNonAdmin()
Mage_Core_Model_Abstract::_setResourceModel()
Class Constants
DEFAULT_ONLINE_MINUTES_INTERVAL = 15 (line 30)
VISITOR_TYPE_CUSTOMER = 'c' (line 31)
VISITOR_TYPE_VISITOR = 'v' (line 32)

Documentation generated on Fri, 11 Feb 2011 17:16:14 +0200 by phpDocumentor 1.4.3