[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 299 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Question:: (22 methods):
__construct()
getQuestion()
getDefault()
isMultiline()
setMultiline()
isHidden()
setHidden()
isHiddenFallback()
setHiddenFallback()
getAutocompleterValues()
setAutocompleterValues()
getAutocompleterCallback()
setAutocompleterCallback()
setValidator()
getValidator()
setMaxAttempts()
getMaxAttempts()
setNormalizer()
getNormalizer()
isAssoc()
isTrimmable()
setTrimmable()
__construct(string $question, $default = null) X-Ref |
param: string $question The question to ask to the user param: string|bool|int|float|null $default The default answer to return if the user enters nothing |
getQuestion() X-Ref |
Returns the question. return: string |
getDefault() X-Ref |
Returns the default answer. return: string|bool|int|float|null |
isMultiline() X-Ref |
Returns whether the user response accepts newline characters. |
setMultiline(bool $multiline) X-Ref |
Sets whether the user response should accept newline characters. return: $this |
isHidden() X-Ref |
Returns whether the user response must be hidden. return: bool |
setHidden(bool $hidden) X-Ref |
Sets whether the user response must be hidden or not. return: $this |
isHiddenFallback() X-Ref |
In case the response cannot be hidden, whether to fallback on non-hidden question or not. return: bool |
setHiddenFallback(bool $fallback) X-Ref |
Sets whether to fallback on non-hidden question if the response cannot be hidden. return: $this |
getAutocompleterValues() X-Ref |
Gets values for the autocompleter. return: iterable|null |
setAutocompleterValues(?iterable $values) X-Ref |
Sets values for the autocompleter. return: $this |
getAutocompleterCallback() X-Ref |
Gets the callback function used for the autocompleter. |
setAutocompleterCallback(callable $callback = null) X-Ref |
Sets the callback function used for the autocompleter. The callback is passed the user input as argument and should return an iterable of corresponding suggestions. return: $this |
setValidator(callable $validator = null) X-Ref |
Sets a validator for the question. return: $this |
getValidator() X-Ref |
Gets the validator for the question. return: callable|null |
setMaxAttempts(?int $attempts) X-Ref |
Sets the maximum number of attempts. Null means an unlimited number of attempts. return: $this |
getMaxAttempts() X-Ref |
Gets the maximum number of attempts. Null means an unlimited number of attempts. return: int|null |
setNormalizer(callable $normalizer) X-Ref |
Sets a normalizer for the response. The normalizer can be a callable (a string), a closure or a class implementing __invoke. return: $this |
getNormalizer() X-Ref |
Gets the normalizer for the response. The normalizer can ba a callable (a string), a closure or a class implementing __invoke. return: callable|null |
isAssoc(array $array) X-Ref |
No description |
isTrimmable() X-Ref |
No description |
setTrimmable(bool $trimmable) X-Ref |
return: $this |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |