Sets titles on the view help page
552523
protected function setTitleViewHelp()
    {
        $meta = $this->help->getMeta($this->data_file);
        $this->setTitle($meta['title']);
    }
722279
public void setShowTabNames(boolean showTabNames) {
        for (int i = 0; i < getTabCount(); i++) {
            String title = showTabNames ? getComponentAt(i).getName() : "";
            setTitleAt(i, title);
        }
    }
816404
protected function setTitleEditCollection()
    {
        if (isset($this->data_collection['title'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_collection['title']));
        } else {
            $title = $this->text('Add collection');
        }

        $this->setTitle($title);
    }
1054572
function set_title($title) {
        global $PAGE;

        $this->page = null;
        $this->title = $title;
        // set_title calls format_string itself so no probs there
        $PAGE->set_title($this->title);
    }
579538
private function forceSetTitle ()
		{
			if (isset($this->_data[ 'title' ]))
				return;

			$path = Yii::$app->controller->id . '/' . Yii::$app->controller->action->id;
			if (Yii::$app->has('menu'))
			{
				foreach (Yii::$app->menu as $menu)
				{
					if ($menu->path === $path)
					{
						$this->setTitle($menu->name);

						return;
					}
				}
			}

			$this->setTitle(ucfirst(strtolower(Yii::$app->controller->id . ' ' . Yii::$app->controller->action->id)));
		}
902873
protected function setBreadcrumbViewHelp()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'url' => $this->url('admin/help'),
            'text' => $this->text('Help')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
1311768
function getViewTitle(): \Closure {
    return function($value, \Mustache_LambdaHelper $helper) {
      $view = \Yii::$app->view;
      if ($view && $view->canSetProperty('title')) $view->title = trim($helper->render($value));
    };
  }
177030
private void setTitleOfLayoutHeader() {
        titleOfArtifactDetails.setValue(HawkbitCommonUtil.getArtifactoryDetailsLabelId("", i18n));
        titleOfArtifactDetails.setContentMode(ContentMode.HTML);
    }
533526
public void setAppTitle(String appTitle) {

        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(appTitle)) {
            m_appIndicator.setValue(appTitle);
            updateAppIndicator();
            m_appIndicator.setVisible(true);
        } else {
            m_appIndicator.setVisible(false);
        }
    }
764382
function _updateTitle() {
        var currentDoc          = DocumentManager.getCurrentDocument(),
            windowTitle         = brackets.config.app_title,
            currentlyViewedFile = MainViewManager.getCurrentlyViewedFile(MainViewManager.ACTIVE_PANE),
            currentlyViewedPath = currentlyViewedFile && currentlyViewedFile.fullPath,
            readOnlyString      = (currentlyViewedFile && currentlyViewedFile.readOnly) ? "[Read Only] - " : "";

        if (!brackets.nativeMenus) {
            if (currentlyViewedPath) {
                _$title.text(_currentTitlePath);
                _$title.attr("title", currentlyViewedPath);
                if (currentDoc) {
                    // dirty dot is always in DOM so layout doesn't change, and visibility is toggled
                    _$dirtydot.css("visibility", (currentDoc.isDirty) ? "visible" : "hidden");
                } else {
                    // hide dirty dot if there is no document
                    _$dirtydot.css("visibility", "hidden");
                }
            } else {
                _$title.text("");
                _$title.attr("title", "");
                _$dirtydot.css("visibility", "hidden");
            }

            // Set _$titleWrapper to a fixed width just large enough to accommodate _$title. This seems equivalent to what
            // the browser would do automatically, but the CSS trick we use for layout requires _$titleWrapper to have a
            // fixed width set on it (see the "#titlebar" CSS rule for details).
            _$titleWrapper.css("width", "");
            var newWidth = _$title.width();
            _$titleWrapper.css("width", newWidth);

            // Changing the width of the title may cause the toolbar layout to change height, which needs to resize the
            // editor beneath it (toolbar changing height due to window resize is already caught by EditorManager).
            var newToolbarHeight = _$titleContainerToolbar.height();
            if (_lastToolbarHeight !== newToolbarHeight) {
                _lastToolbarHeight = newToolbarHeight;
                WorkspaceManager.recomputeLayout();
            }
        }

        var projectRoot = ProjectManager.getProjectRoot();
        if (projectRoot) {
            var projectName = projectRoot.name;
            // Construct shell/browser window title, e.g. "• index.html (myProject) — Brackets"
            if (currentlyViewedPath) {
                windowTitle = StringUtils.format(WINDOW_TITLE_STRING_DOC, readOnlyString + _currentTitlePath, projectName, brackets.config.app_title);
                // Display dirty dot when there are unsaved changes
                if (currentDoc && currentDoc.isDirty) {
                    windowTitle = "• " + windowTitle;
                }
            } else {
                // A document is not open
                windowTitle = StringUtils.format(WINDOW_TITLE_STRING_NO_DOC, projectName, brackets.config.app_title);
            }
        }
        window.document.title = windowTitle;
    }
1319749
def set_help(self):
		
		if not (self.field.help_text and self.attrs.get("_help")):
			return

		self.values["help"] = HELP_TEMPLATE.format(self.field.help_text)
773208
def set_title(self, name):
        
        self._set_attr(TIT2(encoding=3, text=name.decode('utf-8')))
1205175
public function setTitle($title)
    {
        $this->title = $title;

        $this->getViewService()->share('title', $this->getTitle());
    }
12541
public function setPageTitle(array $config): void
    {
        foreach ($config as $item) {
            if (isset($item['active']) && $item['active']) {
                $this->_View->assign('title', $item['title']);
                break;
            }
        }
    }
707934
public void setAppTitle(String title) {

        if (CmsStringUtil.isEmptyOrWhitespaceOnly(title)) {
            if (m_titleLabel != null) {
                m_titleLabel.removeFromParent();
                m_titleLabel = null;
            }
        } else {

            if (m_titleLabel == null) {
                m_titleLabel = new Label();
                m_titleLabel.setStyleName(I_CmsLayoutBundle.INSTANCE.toolbarCss().title());
                m_buttonPanelLeft.insert(m_titleLabel, 0);
            }
            m_titleLabel.setText(title);
        }
    }
517561
public static function updateTitle()
    {
        if (Yii::$app instanceof Application === true && Yii::$app->request->get('page') !== null) {
            Yii::$app->view->title .= Yii::t(
                'plugin',
                ' - Page {page}',
                ['page' => (int)Yii::$app->request->get('page')]
            );
        }
    }
1201242
protected function _setDescription()
    {
        if (empty($this->viewVars['description_for_layout'])) {
            $description = option('site_description');
            $this->assign('description', $description);
            $this->set('description_for_layout', $description);
            $this->append('meta', $this->Html->meta('description', $description));
        } else {
            $this->assign('description', $this->viewVars['description_for_layout']);
        }
    }