SilverCart\Model\Product\Product::get
Returns a list of products using the given filter parameters.
The required attributes stored in self::$requiredAttributes will be added to the filter parameters.
Signature
public function get([string
$callerClass = Product::class,
[string
$filter = "",
[string
$sort = "",
[string
$join = "",
[string
$limit = NULL,
[string
$containerClass = DataList::class]]]]]] )
Parameters
$callerClass
— string- Caller class name
$filter
— string- Filter to use
$sort
— string- Sort field(s) and direction
$join
— string- Join tables
$limit
— string- Result limitation
$containerClass
— string- Container class
Returns
- DataList