Class Mage_Catalog_Model_Api2_Product_Validator_Product
API2 catalog_product Validator
- Mage_Api2_Model_Resource_Validator
- Mage_Catalog_Model_Api2_Product_Validator_Product
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/Validator/Product.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/Validator/Product.php
public
|
|
protected
|
|
protected
boolean
|
|
public
boolean
|
|
protected
array
|
#
_validateAttributes( array $data,
Collect required EAV attributes, validate applicable attributes and validate source attributes values |
protected
boolean
|
|
protected
boolean
|
#
_validateAttributeSet( array $data,
Validate attribute set |
protected
boolean
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
_validateWebsiteIdForGroupPrice( array $data, string $fieldSet )
Check if website id is appropriate according to price scope settings |
protected
|
|
protected
boolean
|
|
protected
|
|
protected
|
#
_validatePositiveNumber( array $data, string $fieldSet, string $field, boolean $required = true, boolean $equalsZero = false, boolean $skipIfConfigValueUsed = false )
Validate field to be positive number |
protected
|
#
_validatePositiveNumeric( array $data, string $fieldSet, string $field, boolean $required = false, boolean $skipIfConfigValueUsed = false )
Validate field to be a positive number |
protected
|
#
_validateNumeric( array $data, string $fieldSet, string $field, boolean $required = false, boolean $skipIfConfigValueUsed = false )
Validate field to be a number |
protected
|
#
_validateSource( array $data, string $fieldSet, string $field, string $sourceModelName, boolean $skipIfConfigValueUsed = false )
Validate dropdown fields value |
protected
|
#
_validateBoolean( array $data, string $fieldSet, string $field, boolean $skipIfConfigValueUsed = false )
Validate bolean fields value |
protected
array
|
#
_getAttributeAllowedValues( array $options )
Retrieve all attribute allowed values from source model in plain array format |
protected
boolean
|
|
protected
|
_addError(),
_addErrors(),
_setErrors(),
getErrors()
|
float |
MAX_DECIMAL_VALUE
|
99999999.9999 |
#
The greatest decimal value which could be stored. Corresponds to DECIMAL (12,4) SQL type |
protected
|
$_product | null |
#
Validator product |
protected
string
|
$_operation | null |
#
Validation operation |
$_errors
|