| @@ 282-288 (lines=7) @@ | ||
| 279 | * |
|
| 280 | * @return string|null |
|
| 281 | */ |
|
| 282 | public function getAutocompleteKey() |
|
| 283 | { |
|
| 284 | if (false === $this->isAutocomplete()) { |
|
| 285 | return null; |
|
| 286 | } |
|
| 287 | return $this->getFilter(self::FILTER_AUTOCOMPLETE)[self::FILTER_AUTOCOMPLETE_KEY]; |
|
| 288 | } |
|
| 289 | ||
| 290 | /** |
|
| 291 | * Gets the autocomplete search value. |
|
| @@ 295-301 (lines=7) @@ | ||
| 292 | * |
|
| 293 | * @return string|null |
|
| 294 | */ |
|
| 295 | public function getAutocompleteValue() |
|
| 296 | { |
|
| 297 | if (false === $this->isAutocomplete()) { |
|
| 298 | return null; |
|
| 299 | } |
|
| 300 | return $this->getFilter(self::FILTER_AUTOCOMPLETE)[self::FILTER_AUTOCOMPLETE_VALUE]; |
|
| 301 | } |
|
| 302 | ||
| 303 | /** |
|
| 304 | * Determines if this has the database query filter enabled. |
|