Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\Locale\FormatInterface $localeFormat) | |
validate ($object) | |
![]() | |
setAttribute ($attribute) | |
getAttribute () | |
getType () | |
isStatic () | |
getTable () | |
getEntityIdField () | |
setValueId ($valueId) | |
setEntityValueId ($entity, $valueId) | |
getValueId () | |
getEntityValueId ($entity) | |
getDefaultValue () | |
validate ($object) | |
afterLoad ($object) | |
beforeSave ($object) | |
afterSave ($object) | |
beforeDelete ($object) | |
afterDelete ($object) | |
getAffectedFields ($object) | |
isScalar () | |
Protected Member Functions | |
isPositiveOrZero ($value) | |
Protected Attributes | |
$localeFormat | |
![]() | |
$_attribute | |
$_valueId | |
$_valueIds = [] | |
$_table | |
$_entityIdField | |
$_defaultValue = null | |
Definition at line 14 of file Weight.php.
__construct | ( | \Magento\Framework\Locale\FormatInterface | $localeFormat | ) |
\Magento\Framework\Locale\FormatInterface | $localeFormat |
Definition at line 25 of file Weight.php.
|
protected |
Returns whether the value is greater than, or equal to, zero
mixed | $value |
Definition at line 56 of file Weight.php.
validate | ( | $object | ) |
Validate
\Magento\Catalog\Model\Product | $object |
Definition at line 38 of file Weight.php.
|
protected |
Definition at line 20 of file Weight.php.