BootstrapContainerTrait
trait BootstrapContainerTrait
Trait BootstrapContainerTrait.
Implements methods to add inputs.
Methods
addButton(string $name, null|string|
Html
$content = NULL, string $btnClass = 'btn-secondary')
No description
addCheckbox(string $name, null $caption = NULL)
No description
addCheckboxList(string $name, null $label = NULL, array
$items = NULL)
No description
addComponent(
IComponent
$component, $name, $insertBefore = NULL)
No description
addContainer(string $name)
No description
addDateTime(string $name, string $label)
Adds a datetime input.
addInputError(string $componentName, string $message)
Adds error to a specific component
addInteger(string $name, string $label = NULL)
No description
addMultiSelect(string $name, null $label = NULL, array
$items = NULL, null $size = NULL)
No description
addMultiUpload(string $name, string $label = NULL)
No description
addPassword(string $name, string $label = NULL, null $cols =
NULL, null $maxLength = NULL)
No description
addRadioList($name, $label = NULL, array $items = NULL)
No description
addSelect(string $name, string $label = NULL, array $items =
NULL, null $size = NULL)
No description
addSubmit(string $name, string $caption = NULL, string $btnClass
= 'btn-primary')
No description
addText(string $name, string $label = NULL, null $cols = NULL,
null $maxLength = NULL)
No description
addTextArea(string $name, string $label = NULL, null $cols =
NULL, null $rows = NULL)
No description
addUpload(string $name, string $label = NULL, bool $multiple =
FALSE)
No description
Details
at line 43
ButtonInput
addButton(string $name, null|string|
Html
$content = NULL, string $btnClass = 'btn-secondary')
at line 57
CheckboxInput
addCheckbox(string $name, null $caption = NULL)
at line 71
CheckboxListInput
addCheckboxList(string $name, null $label = NULL, array $items = NULL)
at line 79
abstract
addComponent(
IComponent
$component, $name, $insertBefore = NULL)
at line 85
BootstrapContainer
addContainer(string $name)
at line 103
DateTimeInput
addDateTime(string $name, string $label)
Adds a datetime input.
at line 116
TextInput
addEmail($name, null $label = NULL)
at line 127
addInputError(string $componentName, string $message)
Adds error to a specific component