Skip to content
Taufik Firmansyah edited this page Jan 29, 2015 · 2 revisions

This function used for retrieve data detail with spesific id (int) .

Usage

$row = $this->model->getRow(1); 
// or
$row = Modulename::getRow(1);

Output the result is in object format

{
  "fieldname":"value",
  "fieldname2":"value"
}
or 
$row->fiedname

Module Structure

BaseController

BaseModel

SiteHelpers

Clone this wiki locally