# input/MultipleChoiceInputRequest.php

Encapsulates an input request.

Author
  Stefan Bodewig
Package
  phing.input
Version
  $Revision: 526 $

## \MultipleChoiceInputRequest
jump to top

Package: phing\input

Encapsulates an input request.

Parent(s)
  \InputRequest
Children
  \YesNoInputRequest
Author
  Stefan Bodewig
Version
  $Revision: 526 $

### Properties

`$choices= 'array()'`
Default value `array()`Details

Type
  n/a

### Methods

`__construct( string $prompt, array $choices ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$prompt | string | The prompt to show to the user. Must not be null.
$choices | array | holds all input values that are allowed. Must not be null.

`getChoices( ) : \The`

Returns

Type | Description
--- | ---
\The | possible values.

`getDefaultValue( ) : void`

`getInput( ) : void`

`getPrompt( ) : void`

`getPromptChar( ) : void`

`isInputValid( ) : true`

Returns

Type | Description
--- | ---
true | if the input is one of the allowed values.

`setDefaultValue( ) : void`

`setInput( ) : void`

`setPromptChar( ) : void`

Documentation was generated by DocBlox 0.17.1.