From 1d792d2a4bbeeaf3d4265354504c59dc8eabfc31 Mon Sep 17 00:00:00 2001 From: vanam Date: Sun, 2 Dec 2012 19:40:48 +0100 Subject: [PATCH] Update libs/NiftyGrid/Grid.php Add support for changing paginator template path --- libs/NiftyGrid/Grid.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libs/NiftyGrid/Grid.php b/libs/NiftyGrid/Grid.php index 574d480..a1cfc1b 100644 --- a/libs/NiftyGrid/Grid.php +++ b/libs/NiftyGrid/Grid.php @@ -77,6 +77,9 @@ abstract class Grid extends \Nette\Application\UI\Control /** @var string */ protected $templatePath; + + /** @var string */ + protected $paginatorTemplatePath; /** @var string */ public $messageNoRecords = 'Žádné záznamy'; @@ -977,4 +980,12 @@ public function getTranslator() return null; } + + /** + * Sets paginator template path + * @param string $pagiantorTemplatePath + */ + public function setPaginatorTemplate($pagiantorTemplatePath){ + $this->paginatorTemplatePath = $pagiantorTemplatePath; + } } \ No newline at end of file