Return the complete value for title.

@return string
975294
protected function renderTitle()
	{
		// Get default value for site name
		$sitename = $this->getConfig('title.sitename');

		// Value for title, site name if not defined
		$title = ($this->title) ? $this->title : $sitename;
		
		// Get default separator value
		$separator = $this->getConfig('title.separator');

		// Should title show site name
		$show = $this->getConfig('title.show_sitename');

		// Get title position
		$first = $this->getConfig('title.first');

		// Show site name in title
		if ($show)
		{
			// Site name and title values are the same
			if ($sitename == $title)
			{
				return $sitename;
			}
			
			// No site name is defined
			elseif (!$sitename)
			{
				return $title;
			}
			
			// No title is defined
			elseif (!$title)
			{
				return $sitename;
			}
		
			// Get complete title
			else
			{
				return ($first) ? $title.$separator.$sitename : $sitename.$separator.$title;
			}
		}

		// Don't show site name in title
		else
		{
			return $title;
		}
	}
962856
public function getTitleName()
    {
        $list = self::getTitlesList();

        return isset($list[$this->title]) ? $list[$this->title] : '';
    }
72480
public function getTitle() {
		if ($this->pageState->hasCurrent()) {
			return $this->pageState->getCurrentLeaf()->getTitle();
		}
		
		return $this->view->lookup(GeneralConfig::class)->getPageName();
	}
950958
public function get_title_detailed() {
        global $DB;

        $prereq = $DB->get_record('course', array('id' => $this->courseinstance));
        $coursecontext = context_course::instance($prereq->id, MUST_EXIST);
        $fullname = format_string($prereq->fullname, true, array('context' => $coursecontext));
        return shorten_text(urldecode($fullname));
    }
810001
public function get_title() {
        $str = '';

        if (isset($this->refno_t)) {
            $str = $this->refno_t;

            if (isset($this->altrefno_t)) {
                $str .= ' / ' . $this->altrefno_t;
            }
        }

        return $str;
    }
184822
public function getTitleText()
    {
        if ($this->UseLevelTitle && ($page = $this->getCurrentPage(Page::class))) {
            return $page->MenuTitle;
        }
        
        return parent::getTitleText();
    }
927731
public function getTitle()
    {
        $title = $this->title;

        if (isset($this->title_suffix)) {
            $title = $title.$this->title_suffix;
        }

        if (isset($this->title_prefix)) {
            $title = $this->title_prefix.$title;
        }

        return $title;
    }
1122806
public function getTitle()
    {
        // If customised, use the customised title
        if ($this->failover && ($title = $this->failover->Title)) {
            return $title;
        }
        // fallback to using base name
        return $this->getBasename();
    }
593549
public function title()
	{
		// Try to load title from model
		$model_name = $this->model_name;

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

		// Instead use global config
		return Arr::path($this->tanuki(), 'title');
	}
600518
public function getTitle()
    {
        if ($this->subtitle === null) {
            return $this->title;
        }

        if ($this->title === null) {
            return $this->subtitle;
        }

        return $this->title . ': ' . $this->subtitle;
    }
573716
public function getParentTitle()
    {
        if ($parent = $this->Parent()) {
            return $parent->Title ?: ($parent->ClassName . ' #' . $parent->ID);
        }
    }
323243
public function getTitles(){
		if(is_null($this->titles) && $module = Module::getModuleByName(Constants::MODULE_MAJ_MISC_NAME)){
			$pattern = '/(.*) (('.$module->getSetting('MAJ_TITLE_PREFIX', '').')(.*))/';
			$this->titles=array();
			$titlefacts = $this->gedcomrecord->getFacts('TITL');
			foreach($titlefacts as $titlefact){
				$ct2 = preg_match_all($pattern, $titlefact->getValue(), $match2);
				if($ct2>0){
					$this->titles[$match2[1][0]][]= trim($match2[2][0]);
				}
				else{
					$this->titles[$titlefact->getValue()][]='';
				}
			}
		}
		return $this->titles;
	}
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;
    }
469576
public function getTitle()
    {
        $iLang = \OxidEsales\Eshop\Core\Registry::getLang()->getTplLanguage();

        return $this->getInfo("title", $iLang);
    }
11274
protected function parseTitle() {
    if (is_object($this->file)) {
      if (isset($this->file->title)) {
        return $this->file->title;
      }
    }

    if (is_array($this->file)) {
      if (isset($this->file['title'])) {
        return $this->file['title'];
      }
    }

    return '';
  }
993954
public function getDefaultTitle()
    {
        if (empty($this->title_default)) {
            return $this->config->get('defaults.title', null);
        }

        return $this->title_default;
    }
1367387
public function title()
    {
        $heading = null;
        if (session()->has('active_menu')) {
            $heading = session('active_menu')->param('page_heading');
        }

        return $heading ? $heading : $this->entity->title;
    }