data\Sort getAttributeOrder()

getAttributeOrder() public method

Returns the sort direction of the specified attribute in the current request.

public boolean|null getAttributeOrder ( $attribute )
$attribute string

The attribute name

return boolean|null

Sort direction of the attribute. Can be either SORT_ASC for ascending order or SORT_DESC for descending order. Null is returned if the attribute is invalid or does not need to be sorted.

doc_Yii
2016-10-30 16:56:03
Comments
Leave a Comment

Please login to continue.