DefaultController::actionView PHP Method

actionView() public method

Страница для просмотра отладочной информации
public actionView ( null $tag = null, null $panel = null )
$tag null сохраненного лога
$panel null id страницы
    public function actionView($tag = null, $panel = null)
    {
        if ($tag === null) {
            $tags = array_keys($this->getManifest());
            $tag = reset($tags);
            $this->redirect(array('view', 'tag' => $tag, 'panel' => $panel));
        }
        $this->loadData($tag);
        if (isset($this->component->panels[$panel])) {
            $activePanel = $this->getOwner()->panels[$panel];
        } else {
            $activePanel = $this->getOwner()->panels['request'];
        }
        $this->render('view', array('tag' => $tag, 'summary' => $this->summary, 'manifest' => $this->getManifest(), 'panels' => $this->getOwner()->panels, 'activePanel' => $activePanel));
    }