Commit 6c25675d by artur

Changed param name

parent e860f218
...@@ -101,7 +101,7 @@ class LinkPager extends Widget ...@@ -101,7 +101,7 @@ class LinkPager extends Widget
/** /**
* @var boolean Render widget when only one page exist. Defaults to `false`. * @var boolean Render widget when only one page exist. Defaults to `false`.
*/ */
public $showWrapper = false; public $renderOnSinglePage = false;
/** /**
* Initializes the pager. * Initializes the pager.
...@@ -145,7 +145,7 @@ class LinkPager extends Widget ...@@ -145,7 +145,7 @@ class LinkPager extends Widget
protected function renderPageButtons() protected function renderPageButtons()
{ {
$pageCount = $this->pagination->getPageCount(); $pageCount = $this->pagination->getPageCount();
if ($pageCount < 2 && !$this->showWrapper) { if ($pageCount < 2 && !$this->renderOnSinglePage) {
return ''; return '';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment