public function __construct($request, $response) { $this->info = new AdminInfo(); $this->translator = FrontHelper::getTranslation(); View::set_global('translator', $this->translator); parent::__construct($request, $response); }
public function __construct($id = NULL) { $this->translator = FrontHelper::getTranslation(); parent::__construct($id); }