Browse Source

Merge pull request #630 from lucianobaraglia/master

Doc Fixes
tags/2.0.0-beta
Alexander Makarov 11 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) * ->limit($pages->limit)
* ->all(); * ->all();
* *
* $this->render('index', array( * return $this->render('index', array(
* 'models' => $models, * 'models' => $models,
* 'pages' => $pages, * 'pages' => $pages,
* )); * ));

2
framework/yii/data/Sort.php

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

Loading…
Cancel
Save