DeltaCMS/src/AdminPanel/Form/ChoiceInput.php
Florian Bouillon cacdc2c3d6 Changed whole Input Objects
they now lives by themselves when before
they where highly connected to Form.php
2019-04-25 16:14:25 +02:00

27 lines
429 B
PHP

<?php
namespace AdminPanel\Form;
use AdminPanel\AdminPanel;
class ChoiceInput extends AbstractInput
{
public function getOptionsList(): array
{
return array_merge(
parent::getOptionsList(),
array(
'choices'
)
);
}
public function getAttributesList(): array
{
return array(
'name',
'id'
);
}
}