Protected Member Functions | |
_getStoreId () | |
_getCustomerGroupId () |
Definition at line 2 of file Abstract.php.
_getCustomerGroupId | ( | ) | [protected] |
Definition at line 14 of file Abstract.php.
00015 { 00016 //customer group id 00017 $custGroupID = (int) $this->getRequest()->getParam('cid'); 00018 if($custGroupID == null) { 00019 $custGroupID = Mage::getSingleton('customer/session')->getCustomerGroupId(); 00020 } 00021 return $custGroupID; 00022 }
_getStoreId | ( | ) | [protected] |
Definition at line 4 of file Abstract.php.
00005 { 00006 //store id is store view id 00007 $storeId = (int) $this->getRequest()->getParam('store_id'); 00008 if($storeId == null) { 00009 $storeId = Mage::app()->getStore()->getId(); 00010 } 00011 return $storeId; 00012 }