BootstrapContainer
class BootstrapContainer extends Container
Class BootstrapContainer.
Container that has all the bootstrap add* methods.
Traits
Trait BootstrapContainerTrait.
Trait AddRowTrait. Implements method to add a bootstrap row.
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
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
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
in
BootstrapContainerTrait
at line 43
ButtonInput
addButton(string $name, null|string|
Html
$content = NULL, string $btnClass = 'btn-secondary')
in
BootstrapContainerTrait
at line 57
CheckboxInput
addCheckbox(string $name, null $caption = NULL)
in
BootstrapContainerTrait
at line 71
CheckboxListInput
addCheckboxList(string $name, null $label = NULL, array $items = NULL)
in
BootstrapContainerTrait
at line 79
abstract
addComponent(
IComponent
$component, $name, $insertBefore = NULL)
in
BootstrapContainerTrait
at line 85
BootstrapContainer
addContainer(string $name)
in
BootstrapContainerTrait
at line 103
DateTimeInput
addDateTime(string $name, string $label)
Adds a datetime input.
in
BootstrapContainerTrait
at line 116
TextInput
addEmail($name, null $label = NULL)
in
BootstrapContainerTrait
at line 127
addInputError(string $componentName, string $message)
Adds error to a specific component
in
BootstrapContainerTrait
at line 138
TextInput
addInteger(string $name, string $label = NULL)
in
BootstrapContainerTrait
at line 151
MultiselectInput
addMultiSelect(string $name, null $label = NULL, array $items = NULL, null
$size = NULL)
in
BootstrapContainerTrait
at line 167
UploadInput
addMultiUpload(string $name, string $label = NULL)
in
BootstrapContainerTrait
at line 179
TextInput
addPassword(string $name, string $label = NULL, null $cols = NULL, null
$maxLength = NULL)
in
BootstrapContainerTrait
at line 185
addRadioList($name, $label = NULL, array $items = NULL)
in
BootstrapContainerTrait
at line 200
SelectInput
addSelect(string $name, string $label = NULL, array $items = NULL, null
$size = NULL)
in
BootstrapContainerTrait
at line 217
SubmitButtonInput
addSubmit(string $name, string $caption = NULL, string $btnClass = 'btn-primary')
in
BootstrapContainerTrait
at line 233
TextInput
addText(string $name, string $label = NULL, null $cols = NULL, null
$maxLength = NULL)
in
BootstrapContainerTrait
at line 254
TextAreaInput
addTextArea(string $name, string $label = NULL, null $cols = NULL, null
$rows = NULL)
in
BootstrapContainerTrait
at line 275
UploadInput
addUpload(string $name, string $label = NULL, bool $multiple = FALSE)
in
AddRowTrait
at line 24
BootstrapRow
addRow(string|null $name = NULL)
Adds a new Grid system row.