Class Listing
Tabular listing with page navigation controls and pre-defined layout support.
A listing is used for tabular data and has per default alternating row colours for improved readability. Navigation controls, if required, are attached to the top and bottom of the listing and provide single page navigation to the previous and next page and jump navigation to the first, last and a selectable page via a drop-down.
Groups are implemented using spanning rows, are visually highlighted and implement dynamic collapsing of all rows of a group via a click on the group header row.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\View\Driver\coreui\Control implements Core\Configurable
- Core\View\Driver\coreui\Control\Table
- Core\View\Driver\coreui\Control\Table\Listing
Package: CoreUI\Control
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at View/Driver/coreui/Control/Table/Listing.inc.php
Methods summary
public
|
|
public
string
|
|
protected
|
#
_renderNavigation( )
Creates a navigation bar. Each instance can only be used once, as child nodes have JavaScript dependencies attached to their IDs and an ID must be unique per HTML document. |
public
|
|
public
|
#
addGroup( string $contents, array $properties = null )
Adds a new group header. All rows that are added afterwards will be part of the most recently added group header. |
public
|
|
public
string
|
#
id( )
Returns an automatically assigned ID for the control. The ID is generated on first request and buffered by the control. An ID is unique per instance and automatically reset if a control is cloned. |
protected
array
|
#
processCell( string $cellNode, mixed $cell )
Processes cell entries and returns the corresponding element descriptors. |
protected
array
|
#
processRowParameters( array $parameters = null )
Processes row parameters and returns the corresponding element descriptors. |
public
|
|
public
|
|
public
|
|
public
|
Methods inherited from Core\View\Driver\coreui\Control
_T()
,
__clone()
,
derive()
,
on()
,
setOption()
,
setOptions()
,
setTitle()
,
setTranslator()
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\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
|
$_v_control
Table element node. |
Properties inherited from Core\View\Driver\coreui\Control
Magic properties
public read-only
|
$control
Root element node for control. |