From b0c6785afc443d51babea2d8643b4c92fa8a0922 Mon Sep 17 00:00:00 2001 From: Philipp Frenzel Date: Sat, 13 Jul 2013 22:07:41 +0200 Subject: [PATCH] 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. --- framework/yii/data/Pagination.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/data/Pagination.php b/framework/yii/data/Pagination.php index adc3730..9496795 100644 --- a/framework/yii/data/Pagination.php +++ b/framework/yii/data/Pagination.php @@ -48,7 +48,7 @@ use yii\base\Object; * } * * // display pagination - * LinkPager::widget(array( + * echo LinkPager::widget(array( * 'pagination' => $pages, * )); * ~~~