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