Mage_Adminhtml_Block_Catalog_Product_Edit_Action_Attribute_Tab_Inventory Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Catalog_Product_Edit_Action_Attribute_Tab_Inventory:

Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Widget_Tab_Interface Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getBackordersOption ()
 getFieldSuffix ()
 getStoreId ()
 getDefaultConfigValue ($field)
 getTabLabel ()
 getTabTitle ()
 canShowTab ()
 isHidden ()


Detailed Description

Definition at line 34 of file Inventory.php.


Member Function Documentation

canShowTab (  ) 

Implements Mage_Adminhtml_Block_Widget_Tab_Interface.

Definition at line 93 of file Inventory.php.

00094     {
00095         return true;
00096     }

getBackordersOption (  ) 

Retrieve Backorders Options

Returns:
array

Definition at line 43 of file Inventory.php.

00044     {
00045         return Mage::getSingleton('cataloginventory/source_backorders')->toOptionArray();
00046     }

getDefaultConfigValue ( field  ) 

Get default config value

Parameters:
string $field
Returns:
mixed

Definition at line 75 of file Inventory.php.

getFieldSuffix (  ) 

Retrieve field suffix

Returns:
string

Definition at line 53 of file Inventory.php.

00054     {
00055         return 'inventory';
00056     }

getStoreId (  ) 

Retrieve current store id

Returns:
int

Definition at line 63 of file Inventory.php.

00064     {
00065         $storeId = $this->getRequest()->getParam('store');
00066         return intval($storeId);
00067     }

getTabLabel (  ) 

######################## TAB settings #################################

Implements Mage_Adminhtml_Block_Widget_Tab_Interface.

Definition at line 83 of file Inventory.php.

00084     {
00085         return Mage::helper('catalog')->__('Inventory');
00086     }

getTabTitle (  ) 

Implements Mage_Adminhtml_Block_Widget_Tab_Interface.

Definition at line 88 of file Inventory.php.

00089     {
00090         return Mage::helper('catalog')->__('Inventory');
00091     }

isHidden (  ) 

Implements Mage_Adminhtml_Block_Widget_Tab_Interface.

Definition at line 98 of file Inventory.php.

00099     {
00100         return false;
00101     }


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

Generated on Sat Jul 4 17:22:44 2009 for Magento by  doxygen 1.5.8