Mage_Sales_Model_Order_Status Class Reference

Inheritance diagram for Mage_Sales_Model_Order_Status:

Mage_Core_Model_Abstract Varien_Object

List of all members.

Public Member Functions

 getFrontendLabel ()

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 28 of file Status.php.


Member Function Documentation

_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

Returns:
string

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:48 2009 for Magento by  doxygen 1.5.8