From 480b495aaa6988eae916d2456c698270c437ec97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stano=20Pa=C5=A1ka?= Date: Fri, 24 Mar 2017 17:12:29 +0100 Subject: [PATCH 1/2] Update readme.md --- readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 676deb0..8ada494 100644 --- a/readme.md +++ b/readme.md @@ -65,12 +65,12 @@ class SomePresenter extends Nette\Application\UI\Presenter /** * Create items paginator * - * @return VisualPaginator\Component + * @return VisualPaginator\Control */ protected function createComponentVisualPaginator() { // Init visual paginator - $control = new VisualPaginator\Component; + $control = new VisualPaginator\Control; return $control; } @@ -89,12 +89,12 @@ class SomePresenter extends Nette\Application\UI\Presenter /** * Create items paginator * - * @return VisualPaginator\Component + * @return VisualPaginator\Control */ protected function createComponentVisualPaginator() { // Init visual paginator - $control = new VisualPaginator\Component; + $control = new VisualPaginator\Control; // Enable ajax (by default) $control->enableAjax(); @@ -142,12 +142,12 @@ class SomePresenter extends Nette\Application\UI\Presenter /** * Create items paginator * - * @return VisualPaginator\Component + * @return VisualPaginator\Control */ protected function createComponentVisualPaginator() { // Init visual paginator - $control = new VisualPaginator\Component; + $control = new VisualPaginator\Control; // To use bootstrap default template $control->setTemplateFile('bootstrap.latte'); From 16d1066b3ea6d7e8642f3fb88890cafd3aa46537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stano=20Pa=C5=A1ka?= Date: Mon, 27 Mar 2017 09:05:03 +0200 Subject: [PATCH 2/2] Update Control.php --- src/IPub/VisualPaginator/Components/Control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IPub/VisualPaginator/Components/Control.php b/src/IPub/VisualPaginator/Components/Control.php index cfc5666..1ff0c2e 100644 --- a/src/IPub/VisualPaginator/Components/Control.php +++ b/src/IPub/VisualPaginator/Components/Control.php @@ -1,6 +1,6 @@