Browse Source

Doc Fixes

tags/2.0.0-beta
Luciano Baraglia 11 years ago
parent
commit
4e28b18c81
  1. 2
      framework/yii/data/Pagination.php
  2. 2
      framework/yii/data/Sort.php

2
framework/yii/data/Pagination.php

@ -33,7 +33,7 @@ use yii\base\Object;
* ->limit($pages->limit)
* ->all();
*
* $this->render('index', array(
* return $this->render('index', array(
* 'models' => $models,
* 'pages' => $pages,
* ));

2
framework/yii/data/Sort.php

@ -38,7 +38,7 @@ use yii\helpers\Html;
* ->orderBy($sort->orders)
* ->all();
*
* $this->render('index', array(
* return $this->render('index', array(
* 'models' => $models,
* 'sort' => $sort,
* ));

Loading…
Cancel
Save