setData()
setData(array|\Traversable $data) : \Charcoal\Admin\Property\Input
Parameters
array|\Traversable | $data | The object (input) data. |
Returns
\Charcoal\Admin\Property\Input —Chainable
Defines a property form control.
setIdent(string $ident) : \Charcoal\Admin\Property\PropertyInputInterface
string | $ident | The input identifier. |
Chainable
setReadOnly(boolean $readOnly) : \Charcoal\Admin\Property\PropertyInputInterface
boolean | $readOnly | The readonly flag. |
Chainable
setRequired(boolean $required) : \Charcoal\Admin\Property\PropertyInputInterface
boolean | $required | The required flag. |
Chainable
setDisabled(boolean $disabled) : \Charcoal\Admin\Property\PropertyInputInterface
boolean | $disabled | The disabled flag. |
Chainable
setInputType(string $inputType) : \Charcoal\Admin\Property\PropertyInputInterface
string | $inputType | The input type. |
Chainable
setProperty(\Charcoal\Property\PropertyInterface $p) : \Charcoal\Admin\Property\PropertyInputInterface
\Charcoal\Property\PropertyInterface | $p | The property. |
Chainable