Browse Source

Fixes #783.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
5c4ad45f01
  1. 2
      framework/yii/data/Sort.php

2
framework/yii/data/Sort.php

@ -53,7 +53,7 @@ use yii\helpers\Inflector;
*
* ~~~
* // display links leading to sort actions
* echo $sort->link('name', 'Name') . ' | ' . $sort->link('age', 'Age');
* echo $sort->link('name') . ' | ' . $sort->link('age');
*
* foreach ($models as $model) {
* // display $model here

Loading…
Cancel
Save