public function actionLog() { $response = parent::actionLog(); if ($response instanceof XenForo_ControllerResponse_View) { /** @var $styleModel XenForo_Model_Style */ $styleModel = $this->getModelFromCache('XenForo_Model_Style'); $response->params['styles'] = $styleModel->getAllStyles(); } return $response; }