Class Mage_Directory_Helper_Data
Directory data helper
- Mage_Core_Helper_Abstract
- Mage_Directory_Helper_Data
Package: Mage\Directory
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/Helper/Data.php
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/Helper/Data.php
public
|
|
public
|
|
public
string
|
|
public
float
|
|
public
array|string
|
#
getCountriesWithOptionalZip( boolean $asJson = false )
Return ISO2 country codes, which have optional Zip/Postal pre-configured |
public
boolean
|
#
isZipCodeOptional( string $countryCode )
Check whether zip code is optional for specified country code |
public
array
|
#
getCountriesWithStatesRequired( boolean $asJson = false )
Returns the list of countries, for which region is required |
public
boolean
|
#
getShowNonRequiredState( )
Return flag, which indicates whether or not non required state should be shown |
public
boolean
|
#
isRegionRequired( string $countryId )
Returns flag, which indicates whether region is required for specified country |
string |
OPTIONAL_ZIP_COUNTRIES_CONFIG_PATH
|
'general/country/optional_zip_countries' |
#
Config value that lists ISO2 country codes which have optional Zip/Postal pre-configured |
string |
XML_PATH_STATES_REQUIRED
|
'general/region/state_required' |
|
string |
XML_PATH_DISPLAY_ALL_STATES
|
'general/region/display_all' |
protected
|
$_countryCollection |
|
#
Country collection |
protected
|
$_regionCollection |
|
#
Region collection |
protected
string
|
$_regionJson |
|
#
Json representation of regions data |
protected
array
|
$_currencyCache | array() |
#
Currency cache |
protected
array
|
$_optionalZipCountries | null |
#
ISO2 country codes which have optional Zip/Postal pre-configured |
$_layout,
$_moduleName,
$_request
|