|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| getConfig () | |
| mapSelected ($value) | |
Public Member Functions inherited from PKP\components\forms\Field | |
| __construct ($name, $args=array()) | |
| getEmptyValue () | |
| validate () | |
Data Fields | |
| $component = 'field-controlled-vocab' | |
| $locales = [] | |
Data Fields inherited from PKP\components\forms\FieldBaseAutosuggest | |
| $apiUrl | |
| $component = 'field-base-autosuggest' | |
| $getParams = [] | |
| $initialPosition = AUTOSUGGEST_POSITION_INLINE | |
| $selected = [] | |
Data Fields inherited from PKP\components\forms\Field | |
| $component | |
| $default | |
| $description | |
| $groupId | |
| $helpSection | |
| $helpTopic | |
| $isMultilingual = false | |
| $isRequired = false | |
| $label = '' | |
| $name | |
| $showWhen | |
| $tooltip | |
| $value | |
Definition at line 18 of file FieldControlledVocab.inc.php.
| PKP\components\forms\FieldControlledVocab::getConfig | ( | ) |
Get a configuration object representing this field to be passed to the UI Library
Reimplemented from PKP\components\forms\FieldBaseAutosuggest.
Definition at line 28 of file FieldControlledVocab.inc.php.
| PKP\components\forms\FieldControlledVocab::mapSelected | ( | $value | ) |
Map the selected values to the format expected by an autosuggest field
| string | value |
Definition at line 54 of file FieldControlledVocab.inc.php.
References PKP\components\forms\Field\$value.
| PKP\components\forms\FieldControlledVocab::$component = 'field-controlled-vocab' |
Which UI Library component this field represents
Definition at line 20 of file FieldControlledVocab.inc.php.
| PKP\components\forms\FieldControlledVocab::$locales = [] |
| array | Key/value list of languages this field should support. Key = locale code. Value = locale name |
Definition at line 23 of file FieldControlledVocab.inc.php.