Trait LayoutTrait
Provides an implementation of Charcoal\Ui\Layout\LayoutInterface
.
Direct Known Users
Charcoal\Ui\Layout\AbstractLayoutIndirect Known Users
Charcoal\Ui\Layout\GenericLayout
public
|
|
public
integer
|
|
public
array
|
#
setStructure( array $layouts )
Prepare the layouts configuration in a simpler, ready, data structure. |
public
array
|
|
public
integer
|
|
public
integer|null
|
|
public
array|null
|
|
public
integer|null
|
#
rowNumColumns( integer $position = null )
Get the number of columns (the colspan) of the row at a certain position |
public
integer
|
|
public
integer
|
#
rowFirstCellIndex( integer $position = null )
Get the cell index (position) of the first cell of current row |
public
integer
|
|
public
integer
|
|
public
integer|null
|
|
public
integer
|
#
cellSpanBy12( integer $position = null )
Get the span number as a part of 12 (for bootrap-style grids) |
public
boolean
|
#
cellStartsRow( integer $position = null )
Get wether or not the current cell starts a row (is the first one on the row) |
public
boolean
|
#
cellEndsRow( integer $position = null )
Get wether or not the current cell ends a row (is the last one on the row) |
public
string
|
|
public
string
|