Journal::getLocalizedPageHeaderTitle PHP Method

getLocalizedPageHeaderTitle() public method

Get "localized" journal page title (if applicable).
    function getLocalizedPageHeaderTitle()
    {
        $titleArray = $this->getSetting('name');
        $title = null;
        foreach (array(AppLocale::getLocale(), AppLocale::getPrimaryLocale()) as $locale) {
            if (isset($titleArray[$locale])) {
                return $titleArray[$locale];
            }
        }
        return null;
    }