classes/phing/input/InputRequest.php
Encapsulates an input request.
- author
- Hans Lellelid (Phing)
- author
- Stefan Bodewig (Ant)
- package
- phing.input
- version
- $Revision: 526 $
Encapsulates an input request.
- author
- Hans Lellelid (Phing)
- author
- Stefan Bodewig (Ant)
- package
- phing.input
- version
- $Revision: 526 $
Properties
Methods



__construct(
string $prompt
)
:
Parameters
| Name |
Type |
Description |
| $prompt |
string |
The prompt to show to the user. Must not be null. |



setDefaultValue(
mixed $v
)
:
Set the default value to use.
Parameters
| Name |
Type |
Description |
| $v |
mixed |
|



setInput(
$input
)
:
Sets the user provided input.
Parameters
| Name |
Type |
Description |
| $input |
|
|



setPromptChar(
string $c
)
:
Set the default value to use.
Parameters
| Name |
Type |
Description |
| $c |
string |
|