Public Member Functions | |
getFrontendLabel () | |
Protected Member Functions | |
_construct () |
Definition at line 28 of file Status.php.
_construct | ( | ) | [protected] |
Enter description here...
Reimplemented from Varien_Object.
Definition at line 31 of file Status.php.
00032 { 00033 $this->_init('sales/order_status'); 00034 }
getFrontendLabel | ( | ) |
Retrieve order status label
Definition at line 41 of file Status.php.
00042 { 00043 $label = ''; 00044 if ($storeId = Mage::app()->getStore()->getId()) { 00045 $label = Mage::app()->getStore()->getConfig('sales/order_statuses/status_' . $this->getId()); 00046 } 00047 if (! $label) { 00048 $label = $this->getData('frontend_label'); 00049 } 00050 return $label; 00051 }