Class Mage_Customer_Helper_Address
Customer address helper
- Mage_Core_Helper_Abstract
- Mage_Customer_Helper_Address
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/Customer/Helper/Address.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string|null
|
#
getConfig( string $key,
Return customer address config value by key and store |
public
integer
|
#
getStreetLines(
Return Number of Lines in a Street Address for store |
public
|
|
public
boolean
|
|
public
array
|
|
public
string
|
#
getAttributeValidationClass( string $attributeCode )
Get string with frontend validation classes for attribute |
public
array
|
#
convertStreetLines( array $origStreets, integer $toCount )
Convert streets array to new street lines count Examples of use: |
public
boolean
|
#
isVatValidationEnabled(
Check whether VAT ID validation is enabled |
public
boolean
|
|
public
boolean
|
#
getValidateOnEachTransaction(
Retrieve 'validate on each transaction' value |
public
string
|
#
getTaxCalculationAddressType(
Retrieve customer address type on which tax calculation must be based |
public
boolean
|
#
isVatAttributeVisible( )
Check if VAT ID address attribute has to be shown on frontend (on Customer Address management forms) |
string |
XML_PATH_VIV_DISABLE_AUTO_ASSIGN_DEFAULT
|
'customer/create_account/viv_disable_auto_group_assign_default' |
#
VAT Validation parameters XML paths |
string |
XML_PATH_VIV_ON_EACH_TRANSACTION
|
'customer/create_account/viv_on_each_transaction' |
|
string |
XML_PATH_VAT_VALIDATION_ENABLED
|
'customer/create_account/auto_group_assign' |
|
string |
XML_PATH_VIV_TAX_CALCULATION_ADDRESS_TYPE
|
'customer/create_account/tax_calculation_address_type' |
|
string |
XML_PATH_VAT_FRONTEND_VISIBILITY
|
'customer/create_account/vat_frontend_visibility' |
protected
array
|
$_attributes |
|
#
Array of Customer Address Attributes |
protected
array
|
$_config | array() |
#
Customer address config node per website |
protected
array
|
$_streetLines | array() |
#
Customer Number of Lines in a Street Address per website |
protected
array
|
$_formatTemplate | array() |
$_layout,
$_moduleName,
$_request
|