function SecureGamePage() { parent::GamePage(); $this->layoutViewFile = 'layout' . DIRECTORY_SEPARATOR . 'game.phtml'; // check is the player is logged if ($this->player == NULL) { if (!$this->customLogoutAction) { $this->redirect('index.php'); } return; } $this->queueModel = new QueueModel(); $this->queueModel->page =& $this; }