Class Mage_Customer_Helper_Data
Customer Data Helper
- Mage_Core_Helper_Abstract
-
Mage_Customer_Helper_Data
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/Customer/Helper/Data.php
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
boolean
|
|
public
string
|
|
public
array
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
public
string
|
|
public
boolean
|
|
public
array|boolean
|
|
public
array|boolean
|
|
protected
array|boolean
|
#
_prepareNamePrefixSuffixOptions( string $options )
Unserialize and clear name prefix or suffix options |
public
string
|
|
public
integer
|
#
getResetPasswordLinkExpirationPeriod( )
Retrieve customer reset password link expiration period in days |
public
integer
|
#
getDefaultCustomerGroupId(
Get default customer group id |
public
null|integer
|
#
getCustomerGroupIdBasedOnVatNumber( string $customerCountryCode, Varien_Object $vatValidationResult,
Retrieve customer group ID based on his VAT number |
public
Varien_Object
|
#
checkVatNumber( string $countryCode, string $vatNumber, string $requesterCountryCode = '', string $requesterVatNumber = '' )
Send request to VAT validation service and return validation result |
public
boolean
|
#
canCheckVatNumber( string $countryCode, string $vatNumber, string $requesterCountryCode, string $requesterVatNumber )
Check if parameters are valid to send to VAT validation service |
public
null|string
|
#
getCustomerVatClass( string $customerCountryCode, Varien_Object $vatValidationResult,
Get VAT class |
public
Varien_Object
|
#
getVatValidationUserMessage(
Get validation message that will be displayed to user by VAT validation result object |
protected
|
#
_createVatNumberValidationSoapClient( boolean $trace = false )
Create SOAP client based on VAT validation service WSDL |
string |
REFERER_QUERY_PARAM_NAME
|
'referer' |
#
Query param name for last url visited |
string |
ROUTE_ACCOUNT_LOGIN
|
'customer/account/login' |
#
Route for customer account login page |
string |
XML_PATH_CUSTOMER_STARTUP_REDIRECT_TO_DASHBOARD
|
'customer/startup/redirect_dashboard' |
#
Config name for Redirect Customer to Account Dashboard after Logging in setting |
string |
XML_PATH_CUSTOMER_VIV_INTRA_UNION_GROUP
|
'customer/create_account/viv_intra_union_group' |
#
Config paths to VAT related customer groups |
string |
XML_PATH_CUSTOMER_VIV_DOMESTIC_GROUP
|
'customer/create_account/viv_domestic_group' |
|
string |
XML_PATH_CUSTOMER_VIV_INVALID_GROUP
|
'customer/create_account/viv_invalid_group' |
|
string |
XML_PATH_CUSTOMER_VIV_ERROR_GROUP
|
'customer/create_account/viv_error_group' |
|
string |
XML_PATH_CUSTOMER_VIV_GROUP_AUTO_ASSIGN
|
'customer/create_account/viv_disable_auto_group_assign_default' |
#
Config path to option that enables/disables automatic group assignment based on VAT |
string |
XML_PATH_SUPPORT_EMAIL
|
'trans_email/ident_support/email' |
#
Config path to support email |
string |
VAT_VALIDATION_WSDL_URL
|
'http://ec.europa.eu/taxation_customs/vies/services/checkVatService?wsdl' |
#
WSDL of VAT validation service |
string |
XML_PATH_CUSTOMER_RESET_PASSWORD_LINK_EXPIRATION_PERIOD
|
'default/customer/password/reset_link_expiration_period' |
#
Configuration path to expiration period of reset password link |
string |
VAT_CLASS_DOMESTIC
|
'domestic' |
#
VAT class constants |
string |
VAT_CLASS_INTRA_UNION
|
'intra_union' |
|
string |
VAT_CLASS_INVALID
|
'invalid' |
|
string |
VAT_CLASS_ERROR
|
'error' |
protected
|
$_groups |
|
#
Customer groups collection |
$_layout,
$_moduleName,
$_request
|