BootstrapRow
class BootstrapRow implements IComponent , IControl
Class BootstrapRow.
Represents a row in Bootstrap grid system.
Traits
Properties
int | $numOfColumns | Number of columns in Bootstrap grid. Default is 12, but it can be customized. | |
string | $gridBreakPoint | Bootstrap breakpoint - usually xs, sm, md, lg. sm by default. Use NULL for no breakpoint. |
Methods
BootstrapRow constructor.
Adds a new cell to which a control can be added.
Delegate to underlying container and remember it.
No description
The container without content
No description
Sets the xs, sm, md, lg part.
Component name
Returns the container
Sets the container
Gets previously set option
Renders the row into a Html object
Sets option
Details
in
FakeControlTrait
at line 24
getErrors()
Always returns an empty array
in
FakeControlTrait
at line 33
getValue()
Not supported
in
FakeControlTrait
at line 38
isDisabled()
in
FakeControlTrait
at line 47
true
isOmitted()
Is control value excluded from $form->getValues() result?
in
FakeControlTrait
at line 56
setValue($value)
Not supported
in
FakeControlTrait
at line 65
validate()
Do nothing
at line 90
__construct(
Container
$container, null $name = NULL)
BootstrapRow constructor.
at line 106
BootstrapCell
addCell(int $numOfColumns = BootstrapCell::COLUMNS_NONE)
Adds a new cell to which a control can be added.
at line 127
addComponent(
IComponent
$component, $name, null $insertBefore = NULL)
Delegate to underlying container and remember it.
at line 137
BootstrapCell
[]
getCells()
at line 147
Html
getElementPrototype()
The container without content
at line 156
string
getGridBreakPoint()
at line 167
BootstrapRow
setGridBreakPoint(string $gridBreakPoint)
Sets the xs, sm, md, lg part.
at line 178
string
getName()
Component name
at line 187
Container
getParent()
Returns the container
at line 197
setParent(
IContainer
$parent = NULL, null $name = NULL)
Sets the container
at line 208
mixed|null
getOption(string $option, null $default = NULL)
Gets previously set option
at line 217
Html
render()
Renders the row into a Html object
at line 237
setOption($option, $value)
Sets option