From a8d17c30b5f5786cb8ad2d8ce156810245e51901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Bugy=C3=ADk?= Date: Mon, 9 Dec 2013 01:58:46 +0100 Subject: [PATCH] Fixed latest commit part 2 (for php 5.3) --- Grido/Components/Filters/Text.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Grido/Components/Filters/Text.php b/Grido/Components/Filters/Text.php index 87192d38..2e3750ff 100644 --- a/Grido/Components/Filters/Text.php +++ b/Grido/Components/Filters/Text.php @@ -17,6 +17,9 @@ * @package Grido * @subpackage Components\Filters * @author Petr Bugyík + * + * @property int $suggestionLimit + * @property-write callback $suggestionCallback */ class Text extends Filter { @@ -89,6 +92,14 @@ public function setSuggestionCallback($callback) /**********************************************************************************************/ + /** + * @return int + */ + public function getSuggestionLimit() + { + return $this->suggestionLimit; + } + /** * @param string $query - value from input * @internal