Browse Source

Merge pull request #630 from lucianobaraglia/master

Doc Fixes
tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
ddc2db6359
  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