data\ArrayDataProvider sortModels()

sortModels() protected method

Sorts the data models according to the given sort definition

protected array sortModels ( $models, $sort )
$models array

The models to be sorted

$sort yii\data\Sort

The sort definition

return array

The sorted data models

doc_Yii
2016-10-30 16:55:45
Comments
Leave a Comment

Please login to continue.