Class Mage_Newsletter_Model_Mysql4_Subscriber_Collection

Description

Newsletter Subscribers Collection

  • author: Magento Core Team <[email protected]>
  • copyright: Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
  • todo: Refactoring this collection to Mage_Core_Model_Mysql4_Collection_Abstract.

Located in /Newsletter/Model/Mysql4/Subscriber/Collection.php (line 36)

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_Newsletter_Model_Mysql4_Subscriber_Collection
Variable Summary
Method Summary
Variables
unknown_type $_countFilterPart = array() (line 78)

Filter for count

  • access: protected
boolean $_queueJoinedFlag = false (line 64)

Queue joined flag

  • access: protected
string $_queueLinkTable (line 50)

Queue link table name

  • access: protected
boolean $_showCustomersInfo = false (line 71)

Flag that indicates apply of customers info on load

  • access: protected
string $_storeTable (line 57)

Store table name

  • access: protected
string $_subscriberTable (line 43)

Subscribers table name

  • access: protected

Inherited Variables

Inherited from Mage_Core_Model_Mysql4_Collection_Abstract

Mage_Core_Model_Mysql4_Collection_Abstract::$_eventObject
Mage_Core_Model_Mysql4_Collection_Abstract::$_eventPrefix
Mage_Core_Model_Mysql4_Collection_Abstract::$_fieldsToSelect
Mage_Core_Model_Mysql4_Collection_Abstract::$_fieldsToSelectChanged
Mage_Core_Model_Mysql4_Collection_Abstract::$_initialFieldsToSelect
Mage_Core_Model_Mysql4_Collection_Abstract::$_joinedTables
Mage_Core_Model_Mysql4_Collection_Abstract::$_mainTable
Mage_Core_Model_Mysql4_Collection_Abstract::$_model
Mage_Core_Model_Mysql4_Collection_Abstract::$_resetItemsDataChanged
Mage_Core_Model_Mysql4_Collection_Abstract::$_resource
Mage_Core_Model_Mysql4_Collection_Abstract::$_resourceModel
Methods
addStoreFilter (line 265)

Filter collection by specified store ids

  • access: public
Mage_Newsletter_Model_Mysql4_Subscriber_Collection addStoreFilter (array|int $storeIds)
  • array|int $storeIds
addSubscriberTypeField (line 168)

Add type field expression to select

  • access: public
getSelectCountSql (line 215)
  • access: public
void getSelectCountSql ()
showCustomerInfo (line 132)

Adds customer info to select

  • access: public
showStoreInfo (line 181)

Sets flag for customer info loading on load

  • access: public
  • boolean $show
useOnlyCustomers (line 242)

Load only subscribed customers

  • access: public
void useOnlyCustomers ()
useOnlySubscribed (line 252)

Show only with subscribed status

  • access: public
void useOnlySubscribed ()
useOnlyUnsent (line 118)

Set using of links to only unsendet letter subscribers.

  • access: public
void useOnlyUnsent ()
useQueue (line 107)

Set loading mode subscribers by queue

  • access: public
void useQueue (Mage_Newsletter_Model_Queue $queue)
_construct (line 85)

Constructor

Configures collection

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Initialization here
_getFieldTableAlias (line 198)
  • deprecated: after 1.4.0.0-rc1
  • access: public
string _getFieldTableAlias (string $field)
  • string $field

Inherited Methods

Inherited From Mage_Core_Model_Mysql4_Collection_Abstract

Mage_Core_Model_Mysql4_Collection_Abstract::__construct()
Mage_Core_Model_Mysql4_Collection_Abstract::addExpressionFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::addFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getAllIds()
Mage_Core_Model_Mysql4_Collection_Abstract::getMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::getModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getResource()
Mage_Core_Model_Mysql4_Collection_Abstract::getResourceModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getTable()
Mage_Core_Model_Mysql4_Collection_Abstract::join()
Mage_Core_Model_Mysql4_Collection_Abstract::removeAllFieldsFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::removeFieldFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::resetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::save()
Mage_Core_Model_Mysql4_Collection_Abstract::setMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::setModel()
Mage_Core_Model_Mysql4_Collection_Abstract::setResetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::setResourceModel()
Mage_Core_Model_Mysql4_Collection_Abstract::_afterLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_beforeLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_canUseCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Mage_Core_Model_Mysql4_Collection_Abstract::_getCacheTags()
Mage_Core_Model_Mysql4_Collection_Abstract::_getInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_init()
Mage_Core_Model_Mysql4_Collection_Abstract::_initInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelectFields()
Mage_Core_Model_Mysql4_Collection_Abstract::_loadCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_saveCache()
Class Constants

Documentation generated on Fri, 11 Feb 2011 16:58:43 +0200 by phpDocumentor 1.4.3