data\Sort getOrders()

getOrders() public method

Returns the columns and their corresponding sort directions.

public array getOrders ( $recalculate = false )
$recalculate boolean

Whether to recalculate the sort directions

return array

The columns (keys) and their corresponding sort directions (values). This can be passed to yii\db\Query::orderBy() to construct a DB query.

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

Please login to continue.