public function __construct() { $this->model = new application_frontend_content_model(); $this->view = new application_frontend_content_view(); $this->user = $this->view->user = $this->model->user = $GLOBALS['user']; parent::checkLogin($this->user['login']); }
public function __construct() { $this->model = new application_frontend_home_model(); $this->view = new application_frontend_home_view(); $this->user = $this->view->user = $this->model->user = $GLOBALS['user']; $this->view->site['name'] = PROJECT . ' | ' . $this->user['info']['name']; parent::checkLogin($this->user['login']); application_frontend_event_controller::checkEventEmailInvitation($this->user['myuid']); self::updatePageView(); }