68 return $list = $list ?? (new \ReflectionClass(static::class))->getConstants();
85 private $options = [];
96 foreach ($this as $key => $value)
100 $result[$key] = $value;
116 string $type = self::TYPE_INPUT,
117 ?
string $name =
null,
118 ?
string $label =
null,
125 $this->label = $label;
158 foreach ($options as $option)
216 return $this->options;
const TYPE_MARITIAL_STATUS
const TYPE_MILITARY_STATUS
const TYPE_LOCATION_COUNTRY
addOption(string $key, string $label)
const TYPE_PATRONYMIC_NAME
setOptions(array $options)
const TYPE_RELATIONSHIP_STATUS
const TYPE_CONDITION_QUESTION
const TYPE_LOCATION_STATE
__construct(string $type=self::TYPE_INPUT, ?string $name=null, ?string $label=null, ?string $key=null, array $options=[])
const TYPE_LOCATION_STREET_ADDRESS