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_Customer_AccountController
  • Mage_Customer_AddressController
  • Mage_Customer_Block_Account
  • Mage_Customer_Block_Account_Dashboard
  • Mage_Customer_Block_Account_Dashboard_Address
  • Mage_Customer_Block_Account_Dashboard_Block
  • Mage_Customer_Block_Account_Dashboard_Hello
  • Mage_Customer_Block_Account_Dashboard_Info
  • Mage_Customer_Block_Account_Dashboard_Newsletter
  • Mage_Customer_Block_Account_Dashboard_Sidebar
  • Mage_Customer_Block_Account_Forgotpassword
  • Mage_Customer_Block_Account_Navigation
  • Mage_Customer_Block_Account_Resetpassword
  • Mage_Customer_Block_Address_Book
  • Mage_Customer_Block_Address_Edit
  • Mage_Customer_Block_Address_Renderer_Default
  • Mage_Customer_Block_Form_Edit
  • Mage_Customer_Block_Form_Login
  • Mage_Customer_Block_Form_Register
  • Mage_Customer_Block_Newsletter
  • Mage_Customer_Block_Widget_Abstract
  • Mage_Customer_Block_Widget_Dob
  • Mage_Customer_Block_Widget_Gender
  • Mage_Customer_Block_Widget_Name
  • Mage_Customer_Block_Widget_Taxvat
  • Mage_Customer_Helper_Address
  • Mage_Customer_Helper_Data
  • Mage_Customer_Model_Address
  • Mage_Customer_Model_Address_Abstract
  • Mage_Customer_Model_Address_Api
  • Mage_Customer_Model_Address_Api_V2
  • Mage_Customer_Model_Address_Config
  • Mage_Customer_Model_Api2_Customer
  • Mage_Customer_Model_Api2_Customer_Address
  • Mage_Customer_Model_Api2_Customer_Address_Rest
  • Mage_Customer_Model_Api2_Customer_Address_Rest_Admin_V1
  • Mage_Customer_Model_Api2_Customer_Address_Rest_Customer_V1
  • Mage_Customer_Model_Api2_Customer_Address_Validator
  • Mage_Customer_Model_Api2_Customer_Rest
  • Mage_Customer_Model_Api2_Customer_Rest_Admin_V1
  • Mage_Customer_Model_Api2_Customer_Rest_Customer_V1
  • Mage_Customer_Model_Api_Resource
  • Mage_Customer_Model_Attribute
  • Mage_Customer_Model_Attribute_Backend_Data_Boolean
  • Mage_Customer_Model_Attribute_Data
  • Mage_Customer_Model_Attribute_Data_Abstract
  • Mage_Customer_Model_Attribute_Data_Boolean
  • Mage_Customer_Model_Attribute_Data_Date
  • Mage_Customer_Model_Attribute_Data_File
  • Mage_Customer_Model_Attribute_Data_Hidden
  • Mage_Customer_Model_Attribute_Data_Image
  • Mage_Customer_Model_Attribute_Data_Multiline
  • Mage_Customer_Model_Attribute_Data_Multiselect
  • Mage_Customer_Model_Attribute_Data_Postcode
  • Mage_Customer_Model_Attribute_Data_Select
  • Mage_Customer_Model_Attribute_Data_Text
  • Mage_Customer_Model_Attribute_Data_Textarea
  • Mage_Customer_Model_Config_Share
  • Mage_Customer_Model_Convert_Adapter_Customer
  • Mage_Customer_Model_Convert_Parser_Customer
  • Mage_Customer_Model_Customer
  • Mage_Customer_Model_Customer_Api
  • Mage_Customer_Model_Customer_Api_V2
  • Mage_Customer_Model_Customer_Attribute_Backend_Billing
  • Mage_Customer_Model_Customer_Attribute_Backend_Password
  • Mage_Customer_Model_Customer_Attribute_Backend_Shipping
  • Mage_Customer_Model_Customer_Attribute_Backend_Store
  • Mage_Customer_Model_Customer_Attribute_Backend_Website
  • Mage_Customer_Model_Customer_Attribute_Source_Group
  • Mage_Customer_Model_Customer_Attribute_Source_Store
  • Mage_Customer_Model_Customer_Attribute_Source_Website
  • Mage_Customer_Model_Entity_Address
  • Mage_Customer_Model_Entity_Address_Attribute_Backend_Region
  • Mage_Customer_Model_Entity_Address_Attribute_Backend_Street
  • Mage_Customer_Model_Entity_Address_Attribute_Collection
  • Mage_Customer_Model_Entity_Address_Attribute_Source_Country
  • Mage_Customer_Model_Entity_Address_Attribute_Source_Region
  • Mage_Customer_Model_Entity_Address_Collection
  • Mage_Customer_Model_Entity_Attribute
  • Mage_Customer_Model_Entity_Attribute_Collection
  • Mage_Customer_Model_Entity_Customer
  • Mage_Customer_Model_Entity_Customer_Collection
  • Mage_Customer_Model_Entity_Form_Attribute
  • Mage_Customer_Model_Entity_Form_Attribute_Collection
  • Mage_Customer_Model_Entity_Group
  • Mage_Customer_Model_Entity_Group_Collection
  • Mage_Customer_Model_Entity_Setup
  • Mage_Customer_Model_Entity_Wishlist_Collection
  • Mage_Customer_Model_Form
  • Mage_Customer_Model_Group
  • Mage_Customer_Model_Group_Api
  • Mage_Customer_Model_Group_Api_V2
  • Mage_Customer_Model_Observer
  • Mage_Customer_Model_Resource_Address
  • Mage_Customer_Model_Resource_Address_Attribute_Backend_Region
  • Mage_Customer_Model_Resource_Address_Attribute_Backend_Street
  • Mage_Customer_Model_Resource_Address_Attribute_Collection
  • Mage_Customer_Model_Resource_Address_Attribute_Source_Country
  • Mage_Customer_Model_Resource_Address_Attribute_Source_Region
  • Mage_Customer_Model_Resource_Address_Collection
  • Mage_Customer_Model_Resource_Attribute
  • Mage_Customer_Model_Resource_Attribute_Collection
  • Mage_Customer_Model_Resource_Customer
  • Mage_Customer_Model_Resource_Customer_Collection
  • Mage_Customer_Model_Resource_Form_Attribute
  • Mage_Customer_Model_Resource_Form_Attribute_Collection
  • Mage_Customer_Model_Resource_Group
  • Mage_Customer_Model_Resource_Group_Collection
  • Mage_Customer_Model_Resource_Setup
  • Mage_Customer_Model_Resource_Wishlist_Collection
  • Mage_Customer_Model_Session
  • Mage_Customer_ReviewController

Interfaces

  • Mage_Customer_Block_Address_Renderer_Interface

Exceptions

  • Mage_Customer_Exception
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Customer_Helper_Address

Customer address helper

Mage_Core_Helper_Abstract
Extended by Mage_Customer_Helper_Address
Package: Mage\Customer
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
Methods summary
public
# getBookUrl( )

Addresses url

Addresses url

public
# getEditUrl( )
public
# getDeleteUrl( )
public
# getCreateUrl( )
public
# getRenderer( mixed $renderer )
public string|null
# getConfig( string $key, Mage_Core_Model_Store|integer|string $store = null )

Return customer address config value by key and store

Return customer address config value by key and store

Parameters

$key
string
$key
$store
Mage_Core_Model_Store|integer|string
$store

Returns

string|null
public integer
# getStreetLines( Mage_Core_Model_Store|integer|string $store = null )

Return Number of Lines in a Street Address for store

Return Number of Lines in a Street Address for store

Parameters

$store
Mage_Core_Model_Store|integer|string
$store

Returns

integer
public
# getFormat( mixed $code )
public boolean
# canShowConfig( string $key )

Determine if specified address config value can be shown

Determine if specified address config value can be shown

Parameters

$key
string
$key

Returns

boolean
public array
# getAttributes( )

Return array of Customer Address Attributes

Return array of Customer Address Attributes

Returns

array
public string
# getAttributeValidationClass( string $attributeCode )

Get string with frontend validation classes for attribute

Get string with frontend validation classes for attribute

Parameters

$attributeCode
string
$attributeCode

Returns

string
public array
# convertStreetLines( array $origStreets, integer $toCount )

Convert streets array to new street lines count Examples of use:
$origStreets = array('street1', 'street2', 'street3', 'street4')
$toCount = 3
Result:
array('street1 street2', 'street3', 'street4')
$toCount = 2
Result:
array('street1 street2', 'street3 street4')

Convert streets array to new street lines count Examples of use: $origStreets = array('street1', 'street2', 'street3', 'street4') $toCount = 3 Result: array('street1 street2', 'street3', 'street4') $toCount = 2 Result: array('street1 street2', 'street3 street4')

Parameters

$origStreets
array
$origStreets
$toCount
integer
$toCount

Returns

array
public boolean
# isVatValidationEnabled( Mage_Core_Model_Store|string|integer $store = null )

Check whether VAT ID validation is enabled

Check whether VAT ID validation is enabled

Parameters

$store
Mage_Core_Model_Store|string|integer
$store

Returns

boolean
public boolean
# getDisableAutoGroupAssignDefaultValue( )

Retrieve disable auto group assign default value

Retrieve disable auto group assign default value

Returns

boolean
public boolean
# getValidateOnEachTransaction( Mage_Core_Model_Store|string|integer $store = null )

Retrieve 'validate on each transaction' value

Retrieve 'validate on each transaction' value

Parameters

$store
Mage_Core_Model_Store|string|integer
$store

Returns

boolean
public string
# getTaxCalculationAddressType( Mage_Core_Model_Store|string|integer|null $store = null )

Retrieve customer address type on which tax calculation must be based

Retrieve customer address type on which tax calculation must be based

Parameters

$store
Mage_Core_Model_Store|string|integer|null
$store

Returns

string
public boolean
# isVatAttributeVisible( )

Check if VAT ID address attribute has to be shown on frontend (on Customer Address management forms)

Check if VAT ID address attribute has to be shown on frontend (on Customer Address management forms)

Returns

boolean
Methods inherited from Mage_Core_Helper_Abstract
__(), _cleanCache(), _getModuleName(), _getRequest(), _getUrl(), _loadCache(), _removeCache(), _saveCache(), escapeHtml(), escapeUrl(), getLayout(), isModuleEnabled(), isModuleOutputEnabled(), jsQuoteEscape(), quoteEscape(), removeTags(), setLayout(), stripTags(), translateArray(), urlDecode(), urlEncode()
Constants summary
string XML_PATH_VIV_DISABLE_AUTO_ASSIGN_DEFAULT 'customer/create_account/viv_disable_auto_group_assign_default'
#

VAT Validation parameters XML paths

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'
#
Properties summary
protected array $_attributes
#

Array of Customer Address Attributes

Array of Customer Address Attributes

protected array $_config array()
#

Customer address config node per website

Customer address config node per website

protected array $_streetLines array()
#

Customer Number of Lines in a Street Address per website

Customer Number of Lines in a Street Address per website

protected array $_formatTemplate array()
#
Properties inherited from Mage_Core_Helper_Abstract
$_layout, $_moduleName, $_request
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0