-
Notifications
You must be signed in to change notification settings - Fork 2
6.1 Model Structure
Taufik Firmansyah edited this page Jul 15, 2015
·
2 revisions
Every Model generated by code builder will have same structure and code
class ModuleModel extends SB_Model {
public $table = 'table';
public $primaryKey = 'key';
public function __construct() {
parent::__construct();
}
public static function querySelect()
{
return " SELECT table.* FROM table ";
}
public static function queryWhere()
{
return " WHERE table.key IS NOT NULL ";
}
public static function queryGroup()
{
return " ";
}
}
####Getting Started
- Installation
- Create Your First Module
- How to Edit Modules
- Module SQL
- Module Grid Table
- Module Form
- How to change template content element ( Frontend )
####Setting Application
- Manage Basic Info
- Manage Email Template
- Manage Social Login Security
- Manage Translation
- Manage Users and Groups
- Blast Emails
- Audit Trails / Log Activities
- Create New Page
- Working with PHP and MySQL on static page
- How to make multilanguage Page
- Display grid to frontend