BEST Offers , For All Sximo 5 LTS licence Holer , Upgrade Licence For only $14 Normal Price on Codecanyon $31
New product Sximopress ( Wordpress Builder ) 1.0 has been realesed . download it now !

Sximo 5 LTS - Builder

Create Awesome & Professional CRUD Web Application CMS Within Minutes

Controller

All generated controller will have same structure .
 <?php namespace App\Http\Controllers;

use App\Models\Sample;
use Illuminate\Http\Request;
use Illuminate\Pagination\LengthAwarePaginator as Paginator;
use Validator, Input, Redirect ; 


class SampleController extends Controller {

    protected $layout = "layouts.main";
    protected $data = array();    
    public $module = '';
    static $per_page    = '10';

    public function __construct()
    {
                
    }

    public function getIndex( Request $request )
    {
        // Used for displaying table rows into table
    }    

    public function getUpdate(Request $request, $id = null)
    {
    
        // Used for displaying table rows into form
    }    

    public function getShow( $id = null)
    {
        // Used for displaying table rows into view detail        
    }    

    public function postSave( Request $request)
    {
        // Used for save new or update table rows into         
    }    

    public function postDelete( Request $request)
    {
        // Used for remove table rows
    }    
}

Please Register Purchased Code for full access Docs


Last Update : 2017-04-09 00:10:34