public function __construct(\Application $application) { parent::__construct($application); $this->model = new model\SettingModel(); $this->view = new view\Setting($this->application, $this->model); $this->AdminController = new controller\AdminController($application, $this->model, $this->view); }
public function __construct(\Application $application) { parent::__construct($application); $this->repository = PDORepositoryFactory::get("\\plugin\\Slider\\model\\Slide", \Database::GetConnection()); $this->AdminController = new controller\AdminController($this->application, $this->repository); $this->PublicController = new controller\PublicController($this->application, $this->repository); }
function Init($controller, $method = "Index", ...$params) { $parent = parent::Init($controller, $method, ...$params); if ($parent == false && $this->HookRootAccess($method)) { $parent = $this->PublicController->ViewCMS(strtolower($method), ...$params); } return $parent; }
public function __construct(\Application $application) { parent::__construct($application); $this->model = new model\PluginHandlerModel(); $this->AdminController = new controller\AdminController($application, $this->model); }
public function __construct(\Application $application) { parent::__construct($application); }
public function __construct(\Application $application) { parent::__construct($application); $this->view = new view\Admin($this->application); }
public function __construct(\Application $application) { parent::__construct($application); $this->file = APP_ROOT . 'public' . DIRECTORY_SEPARATOR . 'sitemap.xml'; }