Returns the form title from the h:title element

@return string
327272
public function getTitle()
    {
        if (empty($this->title)) {
            $this->title = $this->_xml->children('h', true)->head->children('h', true)->title;
        }

        return $this->title;
    }
424007
public function getForm()
    {
        $elementString = '';

        if (isset($this->attributes[self::$formHolder[self::$formName]])) {
            $elementString .= $this->attributes[self::$formHolder[self::$formName]][self::$formName];
        }

        $elementString .= $this->getHtmlElements();

        $close = null;
        $close = self::$formHolder[self::$formName].'_close';

        if (isset($this->attributes[$close])) {
            $elementString .= $this->attributes[$close];
        }

        return $this->element[self::$formHolder[self::$formName]] = $elementString;
    }
47987
public function getTypeTitle()
    {
        return isset(self::$type_titles[$this->type]) ? self::$type_titles[$this->type] : '';
    }
408842
public function getTitle()
    {
        $article = $this->getCurrentArticle();
        if ($article instanceof Article) {
            return $article->Title;
        }

        return parent::getTitle();
    }
923034
public function getPageTitle()
    {
        $titleParts = [];
        $titleParts[] = $this->getTitlePrefix();
        $titleParts[] = $this->getTitle();
        $titleParts[] = $this->getTitleSuffix();
        $titleParts[] = $this->getTitlePageSuffix();

        $titleParts = array_filter($titleParts);

        return implode(' | ', $titleParts);
    }
1207861
public function getTitle()
    {
        $title = ($this->Title) ? $this->Title : sprintf('Delete %s %s', count($this->ids), $this->dataClass);
        
        if ($this->User) {
            return $title .= sprintf(' (Initiated by %s)', $this->User->getTitle());
        }

        return $title;
    }
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');
	}
31125
public function title()
    {
        if (in_array($this->type(), [null, 'about:blank'], true)) {
            return $this->determineStatusPhrase($this->status());
        }

        return $this->title;
    }
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;
	}
955636
public function getTitle()
    {
        $title = '';

        /**
         * If there is a title, add it to the returned title
         */
        if (trim($this->title) != '') {
            $title = trim($this->title);
        }
        
        /**
         * If there is a name of the framework instance, add it to 
         * the returned title
         */
        if (trim($this->name) != '') {
            if (trim($title) != '') {
                $title .= $this->delimiter;
            }
            
            $title .= trim($this->name);
        }
        
        /**
         * If the title is empty, return a default title
         */
        if (trim($title) == '') {
            $title = 'zepi Turbo';
        }
        
        return $title;
    }
1360979
protected function getTitle()
    {
        if ($this->formTitle) {
            return $this->formTitle;
        } elseif ($this->createData) {
            return sprintf($this->_('New %s...'), $this->getTopic());
        } else {
            return sprintf($this->_('Edit %s'), $this->getTopic());
        }
    }
990483
public function getTitle() : ?string 
    {
        if ( ! $this->hasTitle()) {
            $this->setTitle($this->getDefaultTitle());
        }
        return $this->title;
    }
1367980
public function getTitle(): string
    {
        $metadata = $this->getMetadata();

        if (isset($metadata['Title'])) {
            return is_array($metadata['Title']) ? $metadata['Title'][0] ?? '' : $metadata['Title'];
        }

        return parent::getTitle();
    }
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;
    }
307194
public function getHtmlName()
    {
        $group = $this->getParentOfType('\\Zepi\\Web\\UserInterface\\Form\\Group');
        $name = '';
        
        /**
         * If the field isn't assigned to a form group return false
         */
        if ($group !== false) {
            $name = $group->getKey() . '-';
        }
        
        return $name . $this->key;
    }
848201
public function getValue()
    {
        $value = $this->getField('Value');
        if (empty($value) && !self::allow_empty_values()) {
            return $this->Title;
        }
        return $value;
    }
970454
protected Element getArticleTitle() {
        Element articleTitle = mDocument.createElement("h1");
        articleTitle.html(mDocument.title());
        return articleTitle;
    }