Class TABLE
Table node.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\View\Driver\coreui\Element implements ArrayAccess, Countable
- Core\View\Driver\coreui\Element\TABLE
Direct known subclasses
Core\View\Driver\coreui\Element\TBODY
,
Core\View\Driver\coreui\Element\TFOOT
,
Core\View\Driver\coreui\Element\THEAD
Package: CoreUI\Element
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at View/Driver/coreui/Element/TABLE.inc.php
Methods summary
protected
|
#
__construct(
Element constructor. |
public
string
|
|
public
|
#
add( string $childType )
Similar to |
public
|
#
addSpanning( string $childType )
Similar to |
public
|
|
public
|
#
addSpanningRow( string $childType )
Adds a new spanning row. A spanning row has a column span that is automatically calculated from the total number of columns a table has. |
public
|
#
append(
Appends a new element or control to the list of child nodes.
Adds special handling for appended |
public
integer
|
|
public
|
|
public
|
#
setRowClasses( mixed $class1 )
Sets alternating row classes that are automatically applied to rows. |
Methods inherited from Core\View\Driver\coreui\Element
__clone()
,
addClass()
,
addClasses()
,
cdata()
,
clear()
,
count()
,
derive()
,
extend()
,
hasAttribute()
,
hasClass()
,
hide()
,
id()
,
insertAt()
,
issetStyle()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
,
on()
,
pop()
,
push()
,
removeClass()
,
setAttribute()
,
setAttributes()
,
setStyle()
,
setTitle()
,
shift()
,
text()
,
unShift()
,
verbatim()
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
Constants inherited from Core\View\Driver\coreui\Element
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
array[]
|
$_v_layout
Array of layout specifications for table columns. |
|
protected
string[]
|
$_v_rowClasses
Array of row classes assigned to rows to create an alternating pattern. |
|
protected
integer
|
$_v_rows
Current number of table rows. |
#
0
|
protected
|
$_v_spanningRows
Array of spanning rows in the table. |
#
array ()
|
Properties inherited from Core\View\Driver\coreui\Element
$_id
,
$_v_attributes
,
$_v_children
,
$_v_classes
,
$_v_proxy
,
$_v_styles
,
$_v_type
Magic properties
public read-only
integer
|
$rows
Current number of table rows. |