Answers the title of the component for the template.

@return string
184822
public function getTitleText()
    {
        if ($this->UseLevelTitle && ($page = $this->getCurrentPage(Page::class))) {
            return $page->MenuTitle;
        }
        
        return parent::getTitleText();
    }
1021858
public function getTitle()
    {
        if ($this->_sCatTitle === null) {
            $this->_sCatTitle = '';
            if ($oManufacturerTree = $this->getManufacturerTree()) {
                if ($oManufacturer = $this->getActManufacturer()) {
                    $this->_sCatTitle = $oManufacturer->oxmanufacturers__oxtitle->value;
                }
            }
        }

        return $this->_sCatTitle;
    }
822882
public function getTitle()
    {
        if (!$this->title) {
            $this->title = DocumentationHelper::clean_page_name($this->key);
        }

        return $this->title;
    }
537835
public function getImageTitleText()
    {
        switch ($this->ImageTitle) {
            case self::IMAGE_TITLE_MEDIA:
                return $this->MediaTitle;
            case self::IMAGE_TITLE_COMPONENT:
                return $this->Title;
        }
    }
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;
    }
740165
public function title()
    {
        if ($this->title === null) {
            $title = null;

            $translator = $this->translator();

            try {
                $config = $this->dashboardConfig();
            } catch (Exception $e) {
                $this->logger->error($e->getMessage());
                $config = [];
            }

            if (isset($config['title'])) {
                $title = $translator->translation($config['title']);
            } else {
                $obj      = $this->obj();
                $objId    = $this->objId();
                $objType  = $this->objType();
                $metadata = $obj->metadata();

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

                    $formIdent = filter_input(INPUT_GET, 'form_ident', FILTER_SANITIZE_STRING);
                    if (!$formIdent) {
                        $formIdent = (isset($adminMetadata['default_form']) ? $adminMetadata['default_form'] : '');
                    }

                    if (isset($adminMetadata['forms'][$formIdent]['label'])) {
                        $title = $translator->translation($adminMetadata['forms'][$formIdent]['label']);
                    }
                }

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

                    if (!$title && isset($metadata['labels']['edit_model'])) {
                        $title = $translator->translation($metadata['labels']['edit_model']);
                    }
                } else {
                    if (!$title && isset($metadata['labels']['new_item'])) {
                        $title = $translator->translation($metadata['labels']['new_item']);
                    }

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

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

                    if ($objId) {
                        $title = $translator->translation('Edit: {{ objType }} #{{ id }}');
                    } elseif (!empty($_GET['clone_id'])) {
                        $title = sprintf(
                            $translator->translation('Create: {{ objType }} from ID ""%s""'),
                            $_GET['clone_id']
                        );
                    } else {
                        $title = $translator->translation('Create: {{ objType }}');
                    }

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

            $this->title = $this->renderTitle($title);
        }

        return $this->title;
    }
458114
public function getTitle()
    {
        $title = array();
        $row = $this->getPage();
        if (!$row) {
            return null;
        }
        do {
            if ($row->name != '' && $row->name != 'Home') {
                $title[] = $row->name;
            }
        } while ($row = $row->getParentPage());
        return implode(' - ', $title);
    }
511252
protected function getTitle()
	{
		$title = '';

		if ($this->hidden)
		{
			return $title;
		}

		// Get the label text from the XML element, defaulting to the element name.
		$title = $this->element['label'] ? (string) $this->element['label'] : (string) $this->element['name'];
		$title = $this->translateLabel ? Text::_($title) : $title;

		return $title;
	}
1302509
protected function renderTitle()
    {
        $items   = array();
        $title   = \CHtml::tag('h1', array(), \CHtml::link($this->title, $this->titleUrl, $this->titleOptions));
        $items[] = \CHtml::tag('li', array('class' => 'name'), $title);
        $items[] = \CHtml::tag(
            'li',
            array('class' => 'toggle-topbar menu-icon'),
            \CHtml::link('<span>Menu</span>', '#')
        );
        return \CHtml::tag('ul', array('class' => 'title-area'), implode("\n", $items));
    }
978683
public function getName(): string {
        $meta = $this->getMetadata();
        return (string) $meta->getLiteral(RC::titleProp());
    }
147061
public function parse_template()
    {
        $self = $this;
        return preg_replace_callback('/\{\{([a-zA-Z\d-_]+)\}\}/', function($a) use($self) {
            $component = $self->get_component($a[1]);
            return $component->render();
        }, $this->model['template']);
    }
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'));
    }
215289
public function get_description() {
        if (get_string_manager()->string_exists('pluginname_desc', $this->component)) {
            return get_string('pluginname_desc', $this->component);
        }
        return $this->store;
    }
1235575
public function getPageTitle()
    {
        if (!$this->parser) {
            return;
        }

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

        if ($node) {
            return $node->innertext;
        }
    }
1327620
public function getTitleField()
    {
        if ($this->title_field && $this->hasElement($this->title_field)) {
            return $this->title_field;
        }

        return $this->id_field;
    }
47987
public function getTypeTitle()
    {
        return isset(self::$type_titles[$this->type]) ? self::$type_titles[$this->type] : '';
    }
538280
public function SectionTitle()
    {
        $title = $this->menu_title();
        if ($title) {
            return $title;
        }

        foreach ($this->MainMenu() as $menuItem) {
            if ($menuItem->LinkingMode != 'link') {
                return $menuItem->Title;
            }
        }
        return null;
    }