public function __construct() { parent::__construct(); $this->model->load('Category'); $this->category = new Category_Model(); self::$process = '/category/show'; self::$object = $this->category; $this->validate = new Validate_Library($this->category->getRules()); }
public function __construct() { parent::__construct(); $this->model->load('User'); $this->user = new User_Model(); self::$process = '/user/show'; self::$object = $this->user; $this->validate = new Validate_Library($this->user->getRules()); }
public function __construct() { parent::__construct(); $this->model->load('Product'); $this->product = new Product_Model(); self::$process = '/product/show'; self::$object = $this->product; $this->validate = new Validate_Library($this->product->getRules()); }
public function __construct($is_controller = true) { parent::__construct($is_controller); }