Page Title

@return string
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;
    }
1071806
public function getTitle()
    {
        if ($this->_sContentTitle === null) {
            $oContent = $this->getContent();
            $this->_sContentTitle = $oContent->oxcontents__oxtitle->value;
        }

        return $this->_sContentTitle;
    }
951990
protected function getTitle()
    {
        $navigation = array_reverse($this->urlParentPages);
        $this->title = strlen($this->title) > 5 ? $this->title . ' - ' : '';

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

        return trim($this->title . (strlen($this->title) < 2 ? '' : ' | ') . config('app.name'));
    }
433918
protected function getTitle()
    {
        $category = $this->categoryFactory->create()->load($this->getSpecialId());
        $title    = $category->getName() ? : parent::getTitle();

        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');
    }
960962
public function getLinkedTitleAttribute()
    {
        if (!$this->title) return;
        return sprintf('<a href="%s">"%s"</a>',
            $this->filterUrl(['model' => $this->model, 'key' => $this->key]),
            $this->title);
    }
1102021
protected function fetchTitle()
    {
        try
        {
            $this->fetchOption('title', true);
        }
        catch (OptionRequiredException $e)
        {
            // no title was set manually
            if (null !== $this->simpleContentPage)
            {
                $this->title = $this->simpleContentPage->getTitle();
            }
            else
            {
                $this->title = $this->simplePageName;
            }
        }
        
        return $this;
    }
447555
public function getTitle()
    {
        $sTitle = '';
        $sTitle .= $this->getArticleCount();
        $iBaseLanguage = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
        $sTitle .= ' ' . \OxidEsales\Eshop\Core\Registry::getLang()->translateString('HITS_FOR', $iBaseLanguage, false);
        $sTitle .= ' "' . $this->getSearchParamForHtml() . '"';

        return $sTitle;
    }
1235575
public function getPageTitle()
    {
        if (!$this->parser) {
            return;
        }

        $node = $this->parser->find('title', 0);

        if ($node) {
            return $node->innertext;
        }
    }
1129221
public function render_title() {
		$item           = $this->get_item();
		$trail_renderer = $this->get_trail_renderer();

		// HTML before title.
		$output = $trail_renderer->get_title_before();

		// Breadcrumb item title.
		$output .= apply_filters( 'carbon_breadcrumbs_item_title', $item->get_title(), $item );

		// HTML after title.
		$output .= $trail_renderer->get_title_after();

		return $output;
	}
575537
public function getTitle()
    {
        return strftime(_t(
            'SilverStripe\Omnipay\Model\Payment.TitleTemplate',
            '{Gateway} {Money} %d/%m/%Y',
            'A template for the payment title',
            str_replace('%', '%%', array(
                'Gateway' => $this->getGatewayTitle(),
                'Money' => $this->dbObject('Money')->Nice()
            ))
        ), strtotime($this->Created));
    }
535638
protected function get_pagetitle()
    {
        if (!empty($this->pagetitle)) {
            $title = $this->pagetitle;
        }
        else if ($this->env['task'] == 'login') {
            $title = $this->app->gettext(array(
                'name' => 'welcome',
                'vars' => array('product' => $this->config->get('product_name')
            )));
        }
        else {
            $title = ucfirst($this->env['task']);
        }

        return $title;
    }
829933
public function getTitle()
    {
        $title = '';

        $titleComment = $this->getTitleComment();
        if (preg_match('/^\s*#+\s*(.+)/', $titleComment, $matches)) {
            $title = $matches[1];
        } elseif (self::isReferenceNumeric($this->getReference())) {
            return $this->getReference();
        } else {
            $reference = $this->getReferenceParts();
            return end($reference);
        }

        return $title;
    }
584323
protected function getHeaderTitle()
    {
        if ($this->title == '') {
            $header_title = '&nbsp;';
        } else {
            $header_title = $this->show_colon
                ? sprintf(Swat::_('%s:'), $this->title)
                : $this->title;
        }

        return $header_title;
    }
979895
public function getMetaDescription()
    {
        $meta = parent::getMetaDescription();

        if ($titlePageSuffix = $this->getTitlePageSuffix()) {
            if ($meta) {
                $meta .= ", ";
            }
            $meta .= $titlePageSuffix;
        }

        return $meta;
    }
13073
public function getTitle()
    {
        $node = $this->html->findFirstTag('title');

        return $node ? trim($node->nodeValue) : null;
    }
1202020
public function linkTitle()
    {
        return $this->entity->param('link_title') ? $this->entity->param('link_title') : $this->entity->title;
    }