<?php
namespace gnomephp\mvc;
/**
*
* All backend Core controllers should implement this specific controller.
* @author peec
*
*/
abstract class CoreController extends Controller{
public function __construct(){
$this->input = new \gnomephp\input\Input;
$this->session = new \gnomephp\Session();
$this->lang = new \gnomephp\helper\lang\Lang($this->session);
$this->notifier = new Notifier;
$this->view = new CoreView($this->input, $this->lang, $this->session);
$this->model = new Model;
$this->state = new State($this->session);
$this->captcha = new \gnomephp\captcha\Captcha($this->session, $this->input);
}
}