Class Mage_Catalog_Model_Api2_Product_Website_Validator_Admin_Website
API2 Website Validator
- Mage_Api2_Model_Resource_Validator
- Mage_Catalog_Model_Api2_Product_Website_Validator_Admin_Website
Package: Mage\Catalog
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/Catalog/Model/Api2/Product/Website/Validator/Admin/Website.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/Catalog/Model/Api2/Product/Website/Validator/Admin/Website.php
public
boolean
|
#
isValidDataForWebsiteAssignmentToProduct(
Validate data for website assignment to product. If fails validation, then this method returns false, and getErrors() will return an array of errors that explain why the validation failed. |
protected
|
#
_addErrorsIfCopyToStoresDataIsNotValid(
Validate "Copy To Stores" data and associations. |
protected
|
#
_checkStoreFrom(
Check if it possible to copy from store "store_from" |
protected
|
#
_checkStoreTo(
Check if it possible to copy into store "store_to" |
public
boolean
|
#
isWebsiteAssignedToProduct(
Validate is valid association for website unassignment from product. If fails validation, then this method returns false, and getErrors() will return an array of errors that explain why the validation failed. |
_addError(),
_addErrors(),
_setErrors(),
getErrors()
|
$_errors
|