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'); 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 @@