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_Directory_Block_Adminhtml_Frontend_Currency_Base
  • Mage_Directory_Block_Adminhtml_Frontend_Region_Updater
  • Mage_Directory_Block_Currency
  • Mage_Directory_Block_Data
  • Mage_Directory_CurrencyController
  • Mage_Directory_Helper_Data
  • Mage_Directory_Helper_Url
  • Mage_Directory_Model_Country
  • Mage_Directory_Model_Country_Api
  • Mage_Directory_Model_Country_Api_V2
  • Mage_Directory_Model_Country_Format
  • Mage_Directory_Model_Currency
  • Mage_Directory_Model_Currency_Filter
  • Mage_Directory_Model_Currency_Import_Abstract
  • Mage_Directory_Model_Currency_Import_Webservicex
  • Mage_Directory_Model_Mysql4_Country
  • Mage_Directory_Model_Mysql4_Country_Collection
  • Mage_Directory_Model_Mysql4_Country_Format
  • Mage_Directory_Model_Mysql4_Country_Format_Collection
  • Mage_Directory_Model_Mysql4_Currency
  • Mage_Directory_Model_Mysql4_Currency_Collection
  • Mage_Directory_Model_Mysql4_Region
  • Mage_Directory_Model_Mysql4_Region_Collection
  • Mage_Directory_Model_Observer
  • Mage_Directory_Model_Region
  • Mage_Directory_Model_Region_Api
  • Mage_Directory_Model_Region_Api_V2
  • Mage_Directory_Model_Resource_Country
  • Mage_Directory_Model_Resource_Country_Collection
  • Mage_Directory_Model_Resource_Country_Format
  • Mage_Directory_Model_Resource_Country_Format_Collection
  • Mage_Directory_Model_Resource_Currency
  • Mage_Directory_Model_Resource_Region
  • Mage_Directory_Model_Resource_Region_Collection

Exceptions

  • Mage_Directory_Exception
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Directory_Model_Resource_Region_Collection

Country collection

Varien_Data_Collection_Db
Extended by Mage_Core_Model_Resource_Db_Collection_Abstract
Extended by Mage_Directory_Model_Resource_Region_Collection

Direct known subclasses

Mage_Directory_Model_Mysql4_Region_Collection
Package: Mage\Directory
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/Directory/Model/Resource/Region/Collection.php
Methods summary
protected
# _construct( )

Define main, country, locale region name tables

Define main, country, locale region name tables

Overrides

Mage_Core_Model_Resource_Db_Collection_Abstract::_construct()
protected Mage_Directory_Model_Resource_Region_Collection
# _initSelect( )

Initialize select object

Initialize select object

Returns

Mage_Directory_Model_Resource_Region_Collection

Overrides

Mage_Core_Model_Resource_Db_Collection_Abstract::_initSelect()
public Mage_Directory_Model_Resource_Region_Collection
# addCountryFilter( string|array $countryId )

Filter by country_id

Filter by country_id

Parameters

$countryId
string|array
$countryId

Returns

Mage_Directory_Model_Resource_Region_Collection
public Mage_Directory_Model_Resource_Region_Collection
# addCountryCodeFilter( string $countryCode )

Filter by country code (ISO 3)

Filter by country code (ISO 3)

Parameters

$countryCode
string
$countryCode

Returns

Mage_Directory_Model_Resource_Region_Collection
public Mage_Directory_Model_Resource_Region_Collection
# addRegionCodeFilter( string|array $regionCode )

Filter by Region code

Filter by Region code

Parameters

$regionCode
string|array
$regionCode

Returns

Mage_Directory_Model_Resource_Region_Collection
public Mage_Directory_Model_Resource_Region_Collection
# addRegionNameFilter( string|array $regionName )

Filter by region name

Filter by region name

Parameters

$regionName
string|array
$regionName

Returns

Mage_Directory_Model_Resource_Region_Collection
public array
# toOptionArray( )

Convert collection items to select options array

Convert collection items to select options array

Returns

array
Methods inherited from Mage_Core_Model_Resource_Db_Collection_Abstract
__construct(), _afterLoad(), _beforeLoad(), _canUseCache(), _getCacheTags(), _getInitialFieldsToSelect(), _init(), _initInitialFieldsToSelect(), _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 $_regionNameTable
#

Locale region name table name

Locale region name table name

protected string $_countryTable
#

Country table name

Country table name

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