public static function setPageTitle($value, $updateTsfe = true)
    {
        $value = (string)$value;

        if ($updateTsfe && !empty($GLOBALS['TSFE'])) {
            $GLOBALS['TSFE']->page['title']   = $value;
            $GLOBALS['TSFE']->indexedDocTitle = $value;
        }

        self::$store['pagetitle']['pagetitle.title'] = $value;
    }