BootstrapCell
class BootstrapCell
Class BootstrapCell.
Represents a row-column pair = table cell in Bootstrap grid system. This is the part with col- - class. Only one component can be present.
Traits
Constants
COLUMNS_NONE |
Only use 'col' class (auto stretch) |
COLUMNS_AUTO |
Use 'col-auto' |
Methods
No description
No description
No description
Delegate to underlying component.
Adds a datetime input.
Adds error to a specific component
No description
No description
No description
No description
No description
No description
No description
No description
No description
Gets the prototype of this cell so you can define additional attributes. Col-* class is added during rendering and is not present, so don't add it.
No description
Renders the cell into Html object
Creates column class based on numOfColumns
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)
at line 120
protected
addComponent(
IComponent
$component, $name, null $insertBefore = NULL)
Delegate to underlying component.
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)
at line 66
__construct(
BootstrapRow
$row, int|null|
false
$numOfColumns)
BootstrapRow constructor.
at line 79
Html
getElementPrototype()
Gets the prototype of this cell so you can define additional attributes. Col-* class is added during rendering and is not present, so don't add it.
..
at line 88
int|
false
|null
getNumOfColumns()
at line 97
Html
render()
Renders the cell into Html object
at line 135
protected string
createClass()
Creates column class based on numOfColumns