Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getAllOptions () | |
addValueSortToCollection ($collection, $dir=\Magento\Framework\Data\Collection::SORT_ORDER_DESC) | |
![]() | |
setAttribute ($attribute) | |
getAttribute () | |
getOptionText ($value) | |
getOptionId ($value) | |
addValueSortToCollection ($collection, $dir=\Magento\Framework\Data\Collection::SORT_ORDER_DESC) | |
getFlatColumns () | |
getFlatIndexes () | |
getFlatUpdateSelect ($store) | |
getIndexOptionText ($value) | |
toOptionArray () | |
Additional Inherited Members | |
![]() | |
$_attribute | |
$_options = null | |
CatalogInventory Stock source model @api
addValueSortToCollection | ( | $collection, | |
$dir = \Magento\Framework\Data\Collection::SORT_ORDER_DESC |
|||
) |
getAllOptions | ( | ) |
Retrieve option array
Implements SourceInterface.
Definition at line 26 of file Stock.php.