Browse Source

Add echo into docs for link pager

I'm not sure if echo should be mentioned, but without the echo before the LinkPager::widget() the user would see nothing.
tags/2.0.0-beta
Philipp Frenzel 12 years ago
parent
commit
b0c6785afc
  1. 2
      framework/yii/data/Pagination.php

2
framework/yii/data/Pagination.php

@ -48,7 +48,7 @@ use yii\base\Object;
* } * }
* *
* // display pagination * // display pagination
* LinkPager::widget(array( * echo LinkPager::widget(array(
* 'pagination' => $pages, * 'pagination' => $pages,
* )); * ));
* ~~~ * ~~~

Loading…
Cancel
Save