Page MenuHomePhorge
Diviner Tech Docs PhabricatorLanguageSettingsPanel

final class PhabricatorLanguageSettingsPanel
Phorge Technical Documentation (Settings)

This class is not documented.

Tasks

Panel Configuration

Panel Implementation

Internals

Other Methods

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

public function setUser($user)
Inherited

This method is not documented.
Parameters
PhabricatorUser$user
Return
wild

public function getUser()
Inherited

This method is not documented.
Return
wild

public function setViewer($viewer)
Inherited

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

public function getViewer()
Inherited

This method is not documented.
Return
wild

public function setOverrideURI($override_uri)
Inherited

This method is not documented.
Parameters
$override_uri
Return
wild

final public function setController($controller)
Inherited

This method is not documented.
Parameters
PhabricatorController$controller
Return
wild

final public function getController()
Inherited

This method is not documented.
Return
wild

final public function setNavigation($navigation)
Inherited

This method is not documented.
Parameters
AphrontSideNavFilterView$navigation
Return
wild

final public function getNavigation()
Inherited

This method is not documented.
Return
wild

public function setPreferences($preferences)
Inherited

This method is not documented.
Parameters
PhabricatorUserPreferences$preferences
Return
wild

public function getPreferences()
Inherited

This method is not documented.
Return
wild

final public static function getAllPanels()
Inherited

This method is not documented.
Return
wild

final public static function getAllDisplayPanels()
Inherited

This method is not documented.
Return
wild

final public function getPanelGroup()
Inherited

This method is not documented.
Return
wild

public function getPanelKey()
Inherited

PhabricatorSettingsPanel

Return a unique string used in the URI to identify this panel, like "example".

Return
stringUnique panel identifier (used in URIs).

public function getPanelName()

PhabricatorSettingsPanel

Return a human-readable description of the panel's contents, like "Example Settings".

PhabricatorLanguageSettingsPanel
This method is not documented.
Return
stringHuman-readable panel name.

public function getPanelMenuIcon()

PhabricatorSettingsPanel

Return an icon for the panel in the menu.

PhabricatorLanguageSettingsPanel
This method is not documented.
Return
stringIcon identifier.

public function getPanelGroupKey()

PhabricatorSettingsPanel

Return a panel group key constant for this panel.

PhabricatorLanguageSettingsPanel
This method is not documented.
Return
constPanel group key.

final public function isEnabled()
Inherited

PhabricatorSettingsPanel

Return false to prevent this panel from being displayed or used. You can do, e.g., configuration checks here, to determine if the feature your panel controls is unavailable in this install. By default, all panels are enabled.

Return
boolTrue if the panel should be shown.

public function isManagementPanel()

PhabricatorSettingsPanel

Return true if this panel is available to administrators while managing bot and mailing list accounts.

PhabricatorLanguageSettingsPanel
This method is not documented.
Return
boolTrue to enable management on behalf of accounts.

public function isTemplatePanel()

PhabricatorSettingsPanel

Return true if this panel is available while editing settings templates.

PhabricatorLanguageSettingsPanel
This method is not documented.
Return
boolTrue to allow editing in templates.
PhabricatorSettingsPanel

Return true if this panel should be available when enrolling in MFA on a new account with MFA requiredd.

PhabricatorLanguageSettingsPanel
This method is not documented.
Return
boolTrue to allow configuration during MFA enrollment.

final public function processRequest($request)
Inherited

PhabricatorSettingsPanel

Process a user request for this settings panel. Implement this method like a lightweight controller. If you return an AphrontResponse, the response will be used in whole. If you return anything else, it will be treated as a view and composed into a normal settings page.

Generally, render your settings panel by returning a form, then return a redirect when the user saves settings.

Parameters
AphrontRequest$requestIncoming request.
Return
wildResponse to request, either as an @{class:AphrontResponse} or something which can be composed into a @{class:AphrontView}.

final public function getPanelURI($path)
Inherited

PhabricatorSettingsPanel

Get the URI for this panel.

Parameters
string?$pathOptional path to append.
Return
stringRelative URI for the panel.

final public function getPanelOrderVector()
Inherited

PhabricatorSettingsPanel

Generates a key to sort the list of panels.

Return
stringSortable key.

protected function newDialog()
Inherited

This method is not documented.
Return
wild

protected function writeSetting($preferences, $key, $value)
Inherited

This method is not documented.
Parameters
PhabricatorUserPreferences$preferences
$key
$value
Return
wild

public function newBox($title, $content, $actions)
Inherited

This method is not documented.
Parameters
$title
$content
$actions
Return
wild

final public function newEditEnginePage()
Inherited

This method is not documented.
Return
wild

final public function getPanelSettingsKeys()
Inherited

This method is not documented.
Return
wild

public function newSettingsPanelEditFormHeadContent($state)
Inherited

This method is not documented.
Parameters
PhabricatorEditEnginePageState$state
Return
wild

public function newSettingsPanelEditFormTailContent($state)
Inherited

This method is not documented.
Parameters
PhabricatorEditEnginePageState$state
Return
wild