HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
|
Public Member Functions | |
init () | |
registerClientScript () | |
renderTableBody () | |
groupByColumns () | |
renderTableRow ($row) |
Public Attributes | |
const | MERGE_SIMPLE = 'simple' |
const | MERGE_NESTED = 'nested' |
const | MERGE_FIRSTROW = 'firstrow' |
$mergeColumns = array() | |
$mergeType = self::MERGE_SIMPLE | |
$mergeCellCss = 'text-align: center; vertical-align: middle' | |
$extraRowColumns = array() | |
$extraRowExpression | |
$extraRowHtmlOptions = array() | |
$extraRowCssClass = 'extrarow' | |
Public Attributes inherited from TbGridView | |
const | TYPE_STRIPED = 'striped' |
const | TYPE_BORDERED = 'bordered' |
const | TYPE_CONDENSED = 'condensed' |
const | TYPE_HOVER = 'hover' |
$type | |
$pagerCssClass = 'no-class' | |
$pager = array('class' => 'booster.widgets.TbPager') | |
$cssFile = false | |
$responsiveTable = false | |
$extraParams = array() |
Private Member Functions | |
getRowValues ($columns, $data, $rowIndex) | |
renderExtraRow ($beforeRow, $change, $columnsInExtra) | |
getDataCellContent ($column, $data, $row) |
Private Attributes | |
$_changes |
Additional Inherited Members | |
Protected Member Functions inherited from TbGridView | |
initColumns () | |
createDataColumn ($text) |
Definition at line 24 of file TbGroupGridView.php.
|
private |
need to rewrite this function as it is protected in CDataColumn: it is strange as all methods inside are public
TbDataColumn | $column | |
mixed | $row | |
mixed | $data |
Definition at line 412 of file TbGroupGridView.php.
|
private |
returns array of rendered column values (TD)
string[]|TbDataColumn[] | $columns | |
CActiveRecord | $data | |
mixed | $rowIndex |
CException |
Definition at line 351 of file TbGroupGridView.php.
TbGroupGridView::groupByColumns | ( | ) |
find and store changing of group columns
if this flag = true -> we will write change (to $this->_changes) for all grouping columns. It's required when change of any column from extraRowColumns occurs
this changeOccurred related to foreach below. It is required only for mergeType == self::MERGE_NESTED, to write change for all nested columns when change of previous column occurred
Definition at line 165 of file TbGroupGridView.php.
TbGroupGridView::init | ( | ) |
Widget initialization
check whether we have extraRowColumns set, forbid filters
setup extra row options
Reimplemented from TbGridView.
Definition at line 74 of file TbGroupGridView.php.
TbGroupGridView::registerClientScript | ( | ) |
Registers necessary client scripts.
Definition at line 102 of file TbGroupGridView.php.
|
private |
renders extra row
mixed | $beforeRow | |
mixed | $change | |
array | $columnsInExtra |
Definition at line 376 of file TbGroupGridView.php.
TbGroupGridView::renderTableBody | ( | ) |
Renders the table body.
Definition at line 153 of file TbGroupGridView.php.
TbGroupGridView::renderTableRow | ( | $row | ) |
Renders a table body row.
int | $row |
Definition at line 271 of file TbGroupGridView.php.
|
private |
Definition at line 69 of file TbGroupGridView.php.
TbGroupGridView::$extraRowColumns = array() |
Definition at line 49 of file TbGroupGridView.php.
TbGroupGridView::$extraRowCssClass = 'extrarow' |
Definition at line 64 of file TbGroupGridView.php.
string TbGroupGridView::$extraRowExpression |
Definition at line 54 of file TbGroupGridView.php.
TbGroupGridView::$extraRowHtmlOptions = array() |
Definition at line 59 of file TbGroupGridView.php.
TbGroupGridView::$mergeCellCss = 'text-align: center; vertical-align: middle' |
Definition at line 44 of file TbGroupGridView.php.
TbGroupGridView::$mergeColumns = array() |
Definition at line 34 of file TbGroupGridView.php.
TbGroupGridView::$mergeType = self::MERGE_SIMPLE |
Definition at line 39 of file TbGroupGridView.php.
const TbGroupGridView::MERGE_FIRSTROW = 'firstrow' |
Definition at line 29 of file TbGroupGridView.php.
const TbGroupGridView::MERGE_NESTED = 'nested' |
Definition at line 28 of file TbGroupGridView.php.
string $mergeType the merge type Defaults to TbGroupGridView::MERGE_SIMPLE = 'simple' |
Definition at line 27 of file TbGroupGridView.php.