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 11 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
* LinkPager::widget(array(
* echo LinkPager::widget(array(
* 'pagination' => $pages,
* ));
* ~~~

Loading…
Cancel
Save