Classes/Controller/Ajax/PageSeo/PageTitleSimController.php
protected function simulateTitle(array $page, $sysLanguage)
    {
        $this->getFrontendUtility()->initTsfe($page, null, $page, null, $sysLanguage);

        $pagetitle = $this->objectManager->get('Metaseo\\Metaseo\\Page\\Part\\PagetitlePart');
        $ret       = $pagetitle->main($page['title']);

        return $ret;
    }
protected function simulateTitle(array $page, $sysLanguage)
    {
        $this->getFrontendUtility()->initTsfe($page, null, $page, null, $sysLanguage);

        $pagetitle = $this->objectManager->get('Metaseo\\Metaseo\\Page\\Part\\PagetitlePart');
        $ret       = $pagetitle->main($page['title']);

        return $ret;
    }
protected function simulateTitle ( array $ page , $ sysLanguage ) { $ this -> getFrontendUtility ( ) -> initTsfe ( $ page , null , $ page , null , $ sysLanguage ) ; $ pagetitle = $ this -> objectManager -> get ( 'Metaseo\\Metaseo\\Page\\Part\\PagetitlePart' ) ; $ ret = $ pagetitle -> main ( $ page [ 'title' ] ) ; return $ ret ; }
Generate simulated page title

@param   array   $page        Page
@param   integer $sysLanguage System language

@return  string
Generate simulated page title