|
HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
|


Public Member Functions | |
| init () | |
| run () | |
| renderPager () | |
| renderItems () | |
| renderSummary () | |
| renderTemplate ($id, $text) | |
| renderTableBody () | |
Public Attributes | |
| $json | |
| $template = "{pager}\n{items}\n{summary}\n{pager}" | |
| $cacheTTL = 1 | |
| $cacheTTLType = 's' | |
| $localCache = true | |
| $pager = array('class' => 'booster.widgets.TbJsonPager') | |
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() | |
Protected Member Functions | |
| initColumns () | |
| renderTemplates () | |
| renderTableRowJSON ($row) | |
| createDataColumn ($text) | |
Protected Attributes | |
| $_showSummary | |
Definition at line 21 of file TbJsonGridView.php.
|
protected |
Creates a column based on a shortcut column specification string.
| mixed | $text | the column specification string |
| CException | if the column format is incorrect |
Reimplemented from TbGridView.
Definition at line 364 of file TbJsonGridView.php.
| TbJsonGridView::init | ( | ) |
Initializes $json property to find out whether ajax request or not
Reimplemented from TbGridView.
Definition at line 65 of file TbJsonGridView.php.
|
protected |
Creates column objects and initializes them.
Reimplemented from TbGridView.
Definition at line 127 of file TbJsonGridView.php.
| TbJsonGridView::renderItems | ( | ) |
Renders the data items for the grid view.
Definition at line 141 of file TbJsonGridView.php.

| TbJsonGridView::renderPager | ( | ) |
Renders the pager.
Definition at line 95 of file TbJsonGridView.php.
| TbJsonGridView::renderSummary | ( | ) |
Definition at line 166 of file TbJsonGridView.php.
| TbJsonGridView::renderTableBody | ( | ) |
Renders the table body.
Definition at line 228 of file TbJsonGridView.php.

|
protected |
Renders a table body row for JSON requests - assumed ajax is for JSON
| integer | $row |
Definition at line 335 of file TbJsonGridView.php.
| TbJsonGridView::renderTemplate | ( | $id, | |
| $text | |||
| ) |
Encloses the given JavaScript within a script tag.
| string | $id | |
| string | $text | the JavaScript to be enclosed |
Definition at line 220 of file TbJsonGridView.php.

|
protected |
Renders the required templates for the client engine (jqote2 used)
Definition at line 191 of file TbJsonGridView.php.


| TbJsonGridView::run | ( | ) |
Renders the view. This is the main entry of the whole view rendering. Child classes should mainly override renderContent method.
Definition at line 82 of file TbJsonGridView.php.
|
protected |
Definition at line 60 of file TbJsonGridView.php.
| TbJsonGridView::$cacheTTL = 1 |
Definition at line 36 of file TbJsonGridView.php.
| TbJsonGridView::$cacheTTLType = 's' |
Definition at line 44 of file TbJsonGridView.php.
| TbJsonGridView::$json |
Definition at line 26 of file TbJsonGridView.php.
| TbJsonGridView::$localCache = true |
Definition at line 49 of file TbJsonGridView.php.
| TbJsonGridView::$pager = array('class' => 'booster.widgets.TbJsonPager') |
Definition at line 55 of file TbJsonGridView.php.
Definition at line 31 of file TbJsonGridView.php.