public function indexedContentAction()
    {
        if ($this->id) {
            // page is selected: get indexed content
            $content = '<h2>Index content for page ' . $this->id . '</h2>';
            $content .= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.path')
                . ': '
                .
                GeneralUtility::fixed_lgd_cs($this->pageinfo['_thePath'], -50);
            $content .= $this->getIndexedContent($this->id);
        } else {
            // no page selected: show message
            $content = '<div class="alert alert-info">'
                . LocalizationUtility::translate(
                    'LLL:EXT:ke_search/Resources/Private/Language/locallang_mod.xml:select_a_page',
                    'KeSearch'
                )
                . '</div>';
        }

        $this->view->assign('content', $content);
    }
public function indexedContentAction()
    {
        if ($this->id) {
            // page is selected: get indexed content
            $content = '<h2>Index content for page ' . $this->id . '</h2>';
            $content .= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.path')
                . ': '
                .
                GeneralUtility::fixed_lgd_cs($this->pageinfo['_thePath'], -50);
            $content .= $this->getIndexedContent($this->id);
        } else {
            // no page selected: show message
            $content = '<div class="alert alert-info">'
                . LocalizationUtility::translate(
                    'LLL:EXT:ke_search/Resources/Private/Language/locallang_mod.xml:select_a_page',
                    'KeSearch'
                )
                . '</div>';
        }

        $this->view->assign('content', $content);
    }
public function indexedContentAction ( ) { if ( $ this -> id ) { // page is selected: get indexed content $ content = '<h2>Index content for page ' . $ this -> id . '</h2>' ; $ content .= $ GLOBALS [ 'LANG' ] -> sL ( 'LLL:EXT:lang/locallang_core.xml:labels.path' ) . ': ' . GeneralUtility :: fixed_lgd_cs ( $ this -> pageinfo [ '_thePath' ] , - 50 ) ; $ content .= $ this -> getIndexedContent ( $ this -> id ) ; } else { // no page selected: show message $ content = '<div class="alert alert-info">' . LocalizationUtility :: translate ( 'LLL:EXT:ke_search/Resources/Private/Language/locallang_mod.xml:select_a_page' , 'KeSearch' ) . '</div>' ; } $ this -> view -> assign ( 'content' , $ content ) ; }
indexed content action
indexed content action