Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Log_Helper_Data
  • Mage_Log_Model_Aggregation
  • Mage_Log_Model_Cron
  • Mage_Log_Model_Customer
  • Mage_Log_Model_Log
  • Mage_Log_Model_Mysql4_Aggregation
  • Mage_Log_Model_Mysql4_Customer
  • Mage_Log_Model_Mysql4_Log
  • Mage_Log_Model_Mysql4_Visitor
  • Mage_Log_Model_Mysql4_Visitor_Collection
  • Mage_Log_Model_Mysql4_Visitor_Online
  • Mage_Log_Model_Mysql4_Visitor_Online_Collection
  • Mage_Log_Model_Resource_Aggregation
  • Mage_Log_Model_Resource_Customer
  • Mage_Log_Model_Resource_Log
  • Mage_Log_Model_Resource_Visitor
  • Mage_Log_Model_Resource_Visitor_Collection
  • Mage_Log_Model_Resource_Visitor_Online
  • Mage_Log_Model_Resource_Visitor_Online_Collection
  • Mage_Log_Model_Visitor
  • Mage_Log_Model_Visitor_Online
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Log_Model_Resource_Visitor_Collection

Visitor log collection

Varien_Data_Collection_Db
Extended by Mage_Core_Model_Resource_Db_Collection_Abstract
Extended by Mage_Log_Model_Resource_Visitor_Collection

Direct known subclasses

Mage_Log_Model_Mysql4_Visitor_Collection
Package: Mage\Log
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Log/Model/Resource/Visitor/Collection.php
Methods summary
protected
# _construct( )

Collection resource initialization

Collection resource initialization

Overrides

Mage_Core_Model_Resource_Db_Collection_Abstract::_construct()
public Mage_Log_Model_Resource_Visitor_Collection
# showCustomersOnly( )

Filter for customers only

Filter for customers only

Returns

Mage_Log_Model_Resource_Visitor_Collection
public Mage_Log_Model_Resource_Visitor_Collection
# addFieldToFilter( string $fieldName, array $condition = null )

Filter by customer ID, as 'type' field does not exist

Filter by customer ID, as 'type' field does not exist

Parameters

$fieldName
string
$fieldName
$condition
array
$condition

Returns

Mage_Log_Model_Resource_Visitor_Collection
protected string
# _getFieldMap( string $fieldName )

Return field with table prefix

Return field with table prefix

Parameters

$fieldName
string
$fieldName

Returns

string
public Mage_Core_Model_Resource_Db_Collection_Abstract
# load( boolean $printQuery = false, boolean $logQuery = false )

Load data

Load data

Parameters

$printQuery
boolean
$printQuery
$logQuery
boolean
$logQuery

Returns

Mage_Core_Model_Resource_Db_Collection_Abstract
public boolean
# getIsOnlineFilterUsed( )

Return true if online filter used

Return true if online filter used

Returns

boolean
public
# addVisitorStoreFilter( array|integer $storeIds )

Filter visitors by specified store ids

Filter visitors by specified store ids

Parameters

$storeIds
array|integer
$storeIds
Methods inherited from Mage_Core_Model_Resource_Db_Collection_Abstract
__construct(), _afterLoad(), _beforeLoad(), _canUseCache(), _getCacheTags(), _getInitialFieldsToSelect(), _init(), _initInitialFieldsToSelect(), _initSelect(), _initSelectFields(), _loadCache(), _prepareSelect(), _saveCache(), addExpressionFieldToSelect(), addFieldToSelect(), formatDate(), getAllIds(), getData(), getMainTable(), getModelName(), getResource(), getResourceModelName(), getSelect(), getTable(), join(), removeAllFieldsFromSelect(), removeFieldFromSelect(), resetItemsDataChanged(), save(), setMainTable(), setModel(), setResetItemsDataChanged(), setResourceModel()
Constants inherited from Mage_Core_Model_Resource_Db_Collection_Abstract
CACHE_TAG
Properties summary
protected string $_visitorTable
#

Visitor data table name

Visitor data table name

protected string $_visitorInfoTable
#

Visitor data info table name

Visitor data info table name

protected string $_customerTable
#

Customer data table

Customer data table

protected string $_urlTable
#

Log URL data table name.

Log URL data table name.

protected string $_urlInfoTable
#

Log URL expanded data table name.

Log URL expanded data table name.

protected string $_summaryTable
#

Aggregator data table.

Aggregator data table.

protected string $_summaryTypeTable
#

Aggregator type data table.

Aggregator type data table.

protected string $_quoteTable
#

Quote data table.

Quote data table.

protected boolean $_isOnlineFilterUsed false
#

Online filter used flag

Online filter used flag

protected array $_fieldMap array( 'customer_firstname' => 'customer_firstname_table.value', 'customer_lastname' => 'customer_lastname_table.value', 'customer_email' => 'customer_email_table.email', 'customer_id' => 'customer_table.customer_id', 'url' => 'url_info_table.url' )
#

Field map

Field map

Properties inherited from Mage_Core_Model_Resource_Db_Collection_Abstract
$_eventObject, $_eventPrefix, $_fieldsToSelect, $_fieldsToSelectChanged, $_initialFieldsToSelect, $_joinedTables, $_mainTable, $_model, $_resetItemsDataChanged, $_resource, $_resourceModel, $_useAnalyticFunction
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0