메소드 |
설명 |
|
_performDelete ( string $id ) |
Delete record from DB. |
|
addOrder ( ) : Order |
Adds column ordering object. |
|
addPaginator ( integer $rows = 25, array $options = null, string $class = null ) : Paginator |
Adds paginator to the grid. |
|
addQuickSearch ( array $fields, array $options = null, string $class = null, string $spot = null ) : QuickSearch |
Adds QuickSearch to the grid. |
|
addSelectable ( mixed $field ) |
Adds column with checkboxes on the basis of Model definition. |
|
applySorting ( Iterator $i, string $field, string | boolean $desc ) |
Apply sorting on particular field. |
|
applyTDParams ( string $field, SQLite &$row_template = null ) |
Apply TD parameters to appropriate template. |
|
enablePaginator ( integer $rows = 25, array $options = null ) |
Add default paginator to the grid. |
|
enableQuickSearch ( array $fields, array $options = null ) |
Adds default QuickSearch to the grid. |
|
formatTotalsRow ( ) |
Additional formatting for Totals row. |
|
format_boolean ( string $field ) |
Format field as boolean. |
|
format_button ( string $field ) |
Format field as button. |
|
format_checkbox ( string $field ) |
Format field as checkbox. |
|
format_confirm ( string $field ) |
Format field as confirm button. |
|
format_date ( string $field ) |
Format field as date. |
|
format_datetime ( string $field ) |
Format field as datetime. |
|
format_delete ( string $field ) |
Format field as delete button. |
|
format_expander ( string $field, array $column ) |
Format expander. |
|
format_float ( string $field ) |
Format field as real number with 2 digit precision. |
|
format_fullwidth ( string $field ) |
Format field as full width field. |
|
format_html ( string $field ) |
Format field as HTML without encoding. Use with care. |
|
format_image ( string $field ) |
Format field as HTML image tag. |
|
format_link ( string $field ) |
Format field as link. |
|
format_money ( string $field ) |
Format field as money with 2 digit precision. |
|
format_nl2br ( string $field ) |
Format field as New-Line to BR-eak. |
|
format_nowrap ( string $field ) |
Format field as no-wrap field. |
|
format_number ( string $field ) |
Format field as number. |
|
format_object ( string $field ) |
Format field as object. |
|
format_password ( string $field ) |
Format password field. |
|
format_prompt ( string $field ) |
Format field as prompt button. |
|
format_real ( $field ) |
|
|
format_shorttext ( string $field ) |
Format shorttext field. |
|
format_template ( string $field ) |
Format field using template. |
|
format_time ( string $field ) |
Format field as time. |
|
format_timestamp ( string $field ) |
Format field as timestamp. |
|
format_totals_checkbox ( string $field, array $column ) |
Additional formatting of checkbox fields column for totals row. |
|
format_totals_delete ( string $field, array $column ) |
Additional formatting of delete button fields for totals row. |
|
format_totals_expander ( string $field, array $column ) |
Additional formatting of expander fields for totals row. |
|
format_totals_money ( string $field ) |
Additional formatting of money fields for totals row. |
|
format_totals_number ( string $field ) |
Additional formatting of number fields for totals row. |
|
format_totals_real ( string $field ) |
Additional formatting of real number fields for totals row. |
|
format_totals_template ( string $field, array $column ) |
Additional formatting of custom template fields for totals row. |
|
format_wrap ( string $field ) |
Format field as wrap field. |
|
getCurrentIndex ( string $idfield = 'id' ) : mixed |
Returns ID of record. |
|
getIterator ( ) : mixed |
Returns data source iterator. |
|
init ( ) |
Initialization. |
|
init_boolean ( string $field ) |
Initialize column as boolean. |
|
init_button ( string $field ) |
Initialize buttons column. |
|
init_confirm ( string $field ) |
Initialize confirm buttons column. |
|
init_delete ( string $field ) |
Initialize column with delete buttons. |
|
init_expander ( string $field ) |
Initialize expander. |
|
init_float ( string $field ) |
Initialize column as real number. |
|
init_fullwidth ( string $field ) |
Initialize column as fullwidth. |
|
init_link ( string $field ) |
Initialize column with links using template. |
|
init_money ( string $field ) |
Initialize column as money. |
|
init_prompt ( string $field ) |
Initialize prompt buttons column. |
|
init_real ( $field ) |
|
|
makeSortable ( string $db_sort = null ) |
Make sortable. |
|
render ( ) |
Render grid. |
|
renderTotalsRow ( ) |
Render Totals row. |
|
setTDParam ( string $field, string $path, string $value ) |
Sets TD params. |
|
setTemplate ( string $template, $field = null ) |
This allows you to use Template. |
|
setTotalsTitle ( string $field, string $title = 'Total: %s row%s' ) |
Sets totals title field and text. |
|
staticSortCompare ( string $str1, string $str2 ) : integer |
Compare two strings and return:
< 0 if str1 is less than str2;
> 0 if str1 is greater than str2,
and 0 if they are equal. |
|
updateGrandTotals ( ) |
Calculate grand totals of all rows. |
|
updateTotals ( ) |
Add current rendered row values to totals. |
|