Public Member Functions | |
setCode ($value) | |
getCode () | |
getTaxClassId ($groupId=null) | |
usesAsDefault () | |
Public Attributes | |
const | XML_PATH_DEFAULT_ID = 'customer/create_account/default_group' |
const | NOT_LOGGED_IN_ID = 0 |
const | CUST_GROUP_ALL = 32000 |
Protected Member Functions | |
_construct () | |
Protected Attributes | |
$_eventPrefix = 'customer_group' | |
$_eventObject = 'object' | |
Static Protected Attributes | |
static | $_taxClassIds = array() |
Definition at line 32 of file Group.php.
_construct | ( | ) | [protected] |
Enter description here...
Reimplemented from Varien_Object.
Definition at line 56 of file Group.php.
00057 { 00058 $this->_init('customer/group'); 00059 }
getCode | ( | ) |
getTaxClassId | ( | $ | groupId = null |
) |
Definition at line 81 of file Group.php.
00082 { 00083 if (!is_null($groupId)) { 00084 if (empty(self::$_taxClassIds[$groupId])) { 00085 $this->load($groupId); 00086 self::$_taxClassIds[$groupId] = $this->getData('tax_class_id'); 00087 } 00088 $this->setData('tax_class_id', self::$_taxClassIds[$groupId]); 00089 } 00090 return $this->getData('tax_class_id'); 00091 }
setCode | ( | $ | value | ) |
usesAsDefault | ( | ) |
$_eventObject = 'object' [protected] |
$_eventPrefix = 'customer_group' [protected] |
const CUST_GROUP_ALL = 32000 |
const NOT_LOGGED_IN_ID = 0 |
const XML_PATH_DEFAULT_ID = 'customer/create_account/default_group' |