-
Notifications
You must be signed in to change notification settings - Fork 15
Function getRows
Taufik Firmansyah edited this page Jan 29, 2015
·
1 revision
This function used for retrieve data with spesific table . Function only available for module created via Code Builder
Usage
$row = $this->model->getRows( $argument )
Option
$argument = array
(
'page' => '0' , // number of page to display
'limit' => '0' , // Limit row displayed per page
'sort' => '' , // Order By Field
'order' => '' , // Order ASC or DESC
'params' => '' , // Params
'global' => '1' // Set 1 for displaying all rows , 0 for rows input by current users
)
RESULT
The ouput result will contain 2 values
- Rows Object
- Total Rows
Module Structure
- [controller] (https://github.com/mangopik/Sximo-Laravel/wiki/Controller)
- Model
- views
BaseController
- [Function getDownload()] (https://github.com/mangopik/Sximo-Laravel/wiki/function-getDownload%28%29)
- Function trackUriSegment()
- [Function getComboselect()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-getComboselect)
- [Function validatePost()] (https://github.com/mangopik/Sximo-Laravel/wiki/function-validatePost)
- [Function validateForm()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-validateForm)
- [Function validAccess()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-ValidAccess)
- [Function inputLogs()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-inputLogs)
- [Function buildSearch()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-buildSearch)
- [Function masterDetailParam()] (#)
BaseModel
- [Function makeInfo()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-makeInfo)
- [Function getRows()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-getRows)
- [Function getRow()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-getRow)
- [Function insetRow()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-insertRow)
SiteHelpers
- [Function avatar()] (#)
- [Function alert()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-alert)
- [Function encryptID()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-encryptID)
- [Function gridDisplay()] (#)
- [Function langOption()] (https://github.com/mangopik/Sximo-Laravel/wiki/Function-langOption)