public function getDefaultViewParams()
    {
        $wdb        = FrontController::getInstance();
        $session    = $wdb->getUser()->getSession();
        return array(
            'WDB'               => $wdb,
            'user_cfg'          => Kernel::get('user_config'),
            'manifest'          => Kernel::get('manifest'),
            'app_cfg'           => Kernel::getConfig('html', array()),
            'app'               => Kernel::getConfig('app', array()),
            'langs'             => Kernel::getConfig('languages', array()),
            'assets'            => '/'.Kernel::getPath('webdocbook_assets', true, 'web'),
            'vendor_assets'     => '/'.Kernel::getPath('vendor_assets', true, 'web'),
            'chapters'          => WDBHelper::getChapters(),
            'search_str'        => $wdb->getRequest()->getGet('s'),
            'session'           => $session->hasFlash() ? $session->allFlashes() : array(),
        );
    }