Page MenuHomePhorge
Diviner Tech Docs PhabricatorConduitTokensSettingsPanel

final class PhabricatorConduitTokensSettingsPanel
Phorge Technical Documentation (Conduit)

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()

PhabricatorSettingsPanel

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

PhabricatorConduitTokensSettingsPanel
This method is not documented.
Return
stringUnique panel identifier (used in URIs).

public function getPanelName()

PhabricatorSettingsPanel

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

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

public function getPanelMenuIcon()

PhabricatorSettingsPanel

Return an icon for the panel in the menu.

PhabricatorConduitTokensSettingsPanel
This method is not documented.
Return
stringIcon identifier.

public function getPanelGroupKey()

PhabricatorSettingsPanel

Return a panel group key constant for this panel.

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

public function isEnabled()

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.

PhabricatorConduitTokensSettingsPanel
This method is not documented.
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.

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

public function isTemplatePanel()
Inherited

PhabricatorSettingsPanel

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

Return
boolTrue to allow editing in templates.

public function isMultiFactorEnrollmentPanel()
Inherited

PhabricatorSettingsPanel

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

Return
boolTrue to allow configuration during MFA enrollment.

public function processRequest($request)

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.

PhabricatorConduitTokensSettingsPanel
This method is not documented.
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