@@ 337-343 (lines=7) @@ | ||
334 | * |
|
335 | * @return string|null |
|
336 | */ |
|
337 | public function getAutocompleteKey() |
|
338 | { |
|
339 | if (false === $this->isAutocomplete()) { |
|
340 | return null; |
|
341 | } |
|
342 | return $this->getFilter(self::FILTER_AUTOCOMPLETE)[self::FILTER_AUTOCOMPLETE_KEY]; |
|
343 | } |
|
344 | ||
345 | /** |
|
346 | * Gets the autocomplete search value. |
|
@@ 350-356 (lines=7) @@ | ||
347 | * |
|
348 | * @return string|null |
|
349 | */ |
|
350 | public function getAutocompleteValue() |
|
351 | { |
|
352 | if (false === $this->isAutocomplete()) { |
|
353 | return null; |
|
354 | } |
|
355 | return $this->getFilter(self::FILTER_AUTOCOMPLETE)[self::FILTER_AUTOCOMPLETE_VALUE]; |
|
356 | } |
|
357 | ||
358 | /** |
|
359 | * Determines if this has the database query filter enabled. |