protected function renderContent() { if (Yii::app()->gameHelper->getModalCoinsEnabled() && GameCoin::showCoin($this->controller)) { $this->registerScripts(); return $this->renderCoinContainerContent(); } }