Mage_Sales_Helper_Reorder Class Reference

Inheritance diagram for Mage_Sales_Helper_Reorder:

Mage_Core_Helper_Data Mage_Core_Helper_Abstract

List of all members.

Public Member Functions

 isAllow ()
 canReorder (Mage_Sales_Model_Order $order)


Detailed Description

Sales module base helper

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 32 of file Reorder.php.


Member Function Documentation

canReorder ( Mage_Sales_Model_Order order  ) 

Definition at line 42 of file Reorder.php.

00043     {
00044         if (!$this->isAllow()) {
00045             return false;
00046         }
00047         return $order->canReorder();
00048     }

isAllow (  ) 

Definition at line 34 of file Reorder.php.

00035     {
00036         if (Mage::getStoreConfig('sales/reorder/allow')) {
00037             return true;
00038         }
00039         return false;
00040     }


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

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