Retrieve the title of the secondary menu.

@return \Charcoal\Translator\Translation|string|null
344538
public function title()
    {
        if ($this->title === null) {
            $ident    = $this->ident();
            $metadata = $this->adminSecondaryMenu();

            $this->title = '';

            if (isset($metadata[$ident]['title'])) {
                $this->setTitle($metadata[$ident]['title']);
            }
        }

        return $this->title;
    }
797026
private function getTitle2()
    {
        $title2 = [];

        $anime_info = $this->_parser->find('.js-scrollfix-bottom', 0);

        $title2['english'] = $this->getTitle3($anime_info, 'English');
        $title2['synonym'] = $this->getTitle3($anime_info, 'Synonyms');
        $title2['japanese'] = $this->getTitle3($anime_info, 'Japanese');

        return $title2;
    }
1240694
public function getTitle()
    {
        $title = parent::getTitle();
        if ($this->Config()->title_pattern) {
            $title = $this->Config()->title_pattern;
        }
        return $title;
    }
1263592
protected function getTitle()
    {
        if (strlen($this->title) <= 5) {
            if ($word = $this->checkIfReservedWordInUrl()) {
                $this->title .= ucfirst($word) . ' ';
            }

            $navigation = array_reverse($this->urlParentNavs);
            foreach ($navigation as $key => $nav) {
                $this->title .= $nav->title . ($key + 1 < count($navigation) ? ' - ' : '');
            }
        }

        return $this->title . ' - Admin | ' . config('app.name');
    }
569339
protected function getTitle()
    {
        if ($this->formTitle) {
            return $this->formTitle;
        } elseif ($this->unDelete) {
            return sprintf($this->_('Undelete %s!'), $this->getTopic());
        } else {
            return sprintf($this->_('Delete %s!'), $this->getTopic());
        }
    }
821833
public function getMetaTitle()
    {
        $title = $this->data()->getTitle();
        $filter = $this->FilterDescription();
        if ($filter) {
            $title = "{$title} - {$filter}";
        }

        $this->extend('updateMetaTitle', $title);
        return $title;
    }
218808
public function title()
    {
        if (isset($this->title)) {
            return $this->title;
        }

        $translator = $this->translator();

        try {
            $config = $this->dashboardConfig();

            if (isset($config['title'])) {
                $this->title = $translator->translation($config['title']);
                return $this->title;
            }
        } catch (Exception $e) {
            $this->logger->error($e->getMessage());
        }

        $model    = $this->proto();
        $metadata = $model->metadata();
        $objLabel = null;

        if (!$objLabel && isset($metadata['admin']['lists'])) {
            $adminMetadata = $metadata['admin'];

            $listIdent = filter_input(INPUT_GET, 'collection_ident', FILTER_SANITIZE_STRING);
            if (!$listIdent) {
                $listIdent = $this->collectionIdent();
            }

            if (!$listIdent) {
                $listIdent = $this->collectionIdentFallback();
            }

            if ($listIdent && $model->view()) {
                $listIdent = $model->render($listIdent);
            }

            if (isset($adminMetadata['lists'][$listIdent]['label'])) {
                $objLabel = $translator->translation($adminMetadata['lists'][$listIdent]['label']);
            }
        }

        if (!$objLabel && isset($metadata['labels']['all_items'])) {
            $objLabel = $translator->translation($metadata['labels']['all_items']);
        }

        if (!$objLabel) {
            $objType = (isset($metadata['labels']['name'])
                        ? $translator->translation($metadata['labels']['name'])
                        : null);

            $objLabel = $translator->translation('Collection: {{ objType }}');

            if ($objType) {
                $objLabel = strtr($objLabel, [
                    '{{ objType }}' => $objType
                ]);
            }
        }

        if ($model->view()) {
            $this->title = $model->render((string)$objLabel, $model);
        } else {
            $this->title = (string)$objLabel;
        }

        return $this->title;
    }
964919
public function getTitle()
    {
        $title = parent::getTitle();

        if (\OxidEsales\Eshop\Core\Registry::getConfig()->getActiveView()->getClassName() == 'account') {
            $baseLanguageId = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
            $title = \OxidEsales\Eshop\Core\Registry::getLang()->translateString('PAGE_TITLE_ACCOUNT', $baseLanguageId, false);
            if ($user = $this->getUser()) {
                $username = $user->oxuser__oxusername->value;
                $title .= ' - "' . $username . '"';
            }
        }

        return $title;
    }
1026770
public function getTitleText()
    {
        if ($this->UseSourceTitle && $this->hasSourceComponent()) {
            return $this->SourceComponent()->getTitleText();
        }
        
        return parent::getTitleText();
    }
336147
public function getTitle()
    {
        if ($this->getNewsletterStatus() == 4 || !$this->getNewsletterStatus()) {
            $sConstant = 'STAY_INFORMED';
        } elseif ($this->getNewsletterStatus() == 1) {
            $sConstant = 'MESSAGE_THANKYOU_FOR_SUBSCRIBING_NEWSLETTERS';
        } elseif ($this->getNewsletterStatus() == 2) {
            $sConstant = 'MESSAGE_NEWSLETTER_CONGRATULATIONS';
        } elseif ($this->getNewsletterStatus() == 3) {
            $sConstant = 'SUCCESS';
        }

        return \OxidEsales\Eshop\Core\Registry::getLang()->translateString($sConstant, \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage(), false);
    }
636457
public function get_title() {
        global $DB;
        $role = $DB->get_record('role', array('id' => $this->role));
        if (!$role) {
            return '['.get_string('roleidnotfound', 'completion', $this->role).']';
        }
        return role_get_name($role, context_course::instance($this->course));
    }
1225135
protected function evalManageTitle()
    {
        if ($customTitle = $this->getConfig('manage[title]')) {
            return $customTitle;
        }

        switch ($this->manageMode) {
            case 'pivot':
            case 'list':
                if ($this->eventTarget == 'button-link') {
                    return 'backend::lang.relation.link_a_new';
                }

                return 'backend::lang.relation.add_a_new';
            case 'form':
                if ($this->readOnly) {
                    return 'backend::lang.relation.preview_name';
                }
                elseif ($this->manageId) {
                    return 'backend::lang.relation.update_name';
                }
                else {
                    return 'backend::lang.relation.create_name';
                }
        }
    }
1313265
public function getTitle()
    {
        $language = \OxidEsales\Eshop\Core\Registry::getLang();
        $translationName = 'PAGE_TITLE_' . strtoupper(\OxidEsales\Eshop\Core\Registry::getConfig()->getActiveView()->getClassName());
        $translated = $language->translateString($translationName, \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage(), false);

        return $translationName == $translated ? null : $translated;
    }
5091
public function getRenderedTitle()
    {
        $rendered = $this->getRenderedContent();

        if ( $rendered instanceof Content || $rendered instanceof MetaContent )
        {
            return $rendered->title;
        }

        return null;
    }
1105547
public function getRoot($title)
    {
        if (array_key_exists($title, $this->menu)) {
            return $this->menu[$title];
        }

        return null;
    }
1089590
protected function get_popover_title() {
        $title = null;

        $userdate = userdate($this->data[0], get_string('strftimedayshort'));
        if (count($this->related['events'])) {
            $title = get_string('eventsfor', 'calendar', $userdate);
        } else if ($this->data['istoday']) {
            $title = $userdate;
        }

        if ($this->data['istoday']) {
            $title = get_string('todayplustitle', 'calendar', $userdate);
        }

        return $title;
    }
723105
public function getTitle()
    {
        $oLang = \OxidEsales\Eshop\Core\Registry::getLang();
        if ($aActiveList = $this->getActiveRecommList()) {
            $sTranslatedString = $oLang->translateString('LIST_BY', $oLang->getBaseLanguage(), false);
            $sTitleField = 'oxrecommlists__oxtitle';
            $sAuthorField = 'oxrecommlists__oxauthor';

            return $aActiveList->$sTitleField->value . ' (' . $sTranslatedString . ' ' .
                      $aActiveList->$sAuthorField->value . ')';
        }
        $sTranslatedString = $oLang->translateString('HITS_FOR', $oLang->getBaseLanguage(), false);

        return $this->getArticleCount() . ' ' . $sTranslatedString . ' "' . $this->getSearchForHtml() . '"';
    }