# user-access-manager/2.3.13/src/View/AdminForm/Select.php

User Access Manager, version 2.3.13. 38 lines.

- Page: https://pluginprobe.com/plugins/user-access-manager/2.3.13/code/src/View/AdminForm/Select.php
- Raw: https://pluginprobe.com/plugins/user-access-manager/2.3.13/raw/src/View/AdminForm/Select.php
- Modified: 2026-07-14T06:51:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/user-access-manager/2.3.13/code/src/View/AdminForm/Select.php#L10-L20`.

```php
<?php
/**
 * @var Select $select
 */

use UserAccessManager\Form\Select;

?>
<th scope="row">
    <label for="uam_<?php echo $select->getId(); ?>">
        <?php echo $select->getLabel(); ?>
    </label>
</th>
<td>
    <select id="uam_<?php echo $select->getId(); ?>"
            name="config_parameters[<?php echo $select->getId(); ?>]">
        <?php
        $possibleValues = $select->getPossibleValues();

        foreach ($possibleValues as $possibleValue) {
            ?>
            <option value="<?php echo $possibleValue->getValue(); ?>" <?php
            if ($select->getValue() === $possibleValue->getValue()) {
                echo 'selected="selected"';
            }
            if ($possibleValue->isDisabled() === true) {
                echo 'disabled="disabled"';
            }
            ?> >
                <?php echo $possibleValue->getLabel(); ?>
            </option>
            <?php
        }
        ?>
    </select>
    <br/>
    <p><?php echo $select->getDescription(); ?></p>
</td>
```
