Encapsulates an input request that returns a boolean (yes/no).
author |
Hans Lellelid hans@xmpl.org |
---|---|
version |
$Id: 8f108ef006e6cc3be1e0449384ff96e53b8e2e39 $ |
package |
phing.input |
__construct(string $prompt)
throws | |
---|---|
string
The prompt to show to the user. Must not be null.
getChoices() : array
array
The possible values.
getDefaultValue() : mixed
mixed
getInput()
getPrompt()
getPromptChar() : string
string
isInputValid()
setDefaultValue(mixed $v)
mixed
setInput( $input)
setPromptChar(string $c)
string
choices : array
var |
---|
array
prompt :
input :
defaultValue :
promptChar :