setAttributeOrders() public method (available since version 2.0.10)
Sets up the currently sort information.
public void setAttributeOrders ( $attributeOrders, $validate = true ) | ||
---|---|---|
$attributeOrders | array|null |
Sort directions indexed by attribute names. Sort direction can be either |
$validate | boolean |
Whether to validate given attribute orders against $attributes and $enableMultiSort. If validation is enabled incorrect entries will be removed. |
Please login to continue.