Class Mage_CatalogInventory_Model_Resource_Stock_Status
CatalogInventory Stock Status per website Resource Model
- Mage_Core_Model_Resource_Abstract
-
Mage_Core_Model_Resource_Db_Abstract
-
Mage_CatalogInventory_Model_Resource_Stock_Status
Direct known subclasses
Mage_CatalogInventory_Model_Mysql4_Stock_Status
Package: Mage\CatalogInventory
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/CatalogInventory/Model/Resource/Stock/Status.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/CatalogInventory/Model/Resource/Stock/Status.php
protected
|
|
public
|
#
saveProductStatus(
Save Product Status per website |
public
array
|
#
getProductStatus( integer|array $productIds, integer $websiteId, integer $stockId = 1 )
Retrieve product status Return array as key product id, value - stock status |
public
array
|
#
getProductData( integer|array $productIds, integer $websiteId, integer $stockId = 1 )
Retrieve product(s) data array |
public
array
|
#
getWebsiteStores( )
Retrieve websites and default stores Return array as key website_id, value store_id |
public
array
|
|
public
array
|
#
getProductCollection( integer $lastEntityId = 0, integer $limit = 1000 )
Retrieve Product part Collection array Return array as key product id, value product type |
public
|
#
addStockStatusToSelect( Varien_Db_Select $select,
Add stock status to prepare index select |
public
|
#
prepareCatalogProductIndexSelect( Varien_Db_Select $select, string|Zend_Db_Expr $entityField, string|Zend_Db_Expr $websiteField )
Add stock status limitation to catalog product price index select object |
public
|
#
addIsInStockFilterToCollection(
Add only is in stock products filter to product collection |
$_commitCallbacks
|