<?php namespace App\Http\Controllers;

class GenericController extends DataManangeCtrl
{

    public function __construct()
    {
        parent::__construct();
        $this->access = $this->access($this->info['id']);
        if ($this->access == false) {
            $this->access = [
                'is_global' => 0,
                'is_view' => 0,
                'is_detail' => 0,
                'is_add' => 0,
                'is_edit' => 0,
                'is_remove' => 0,
                'is_excel' => 0,
                'is_search' => 0,];
        }
    }
}
