public function setUser($user)Inherited
PhabricatorUser | $user |
wild |
public function getUser()Inherited
wild |
public function setViewer($viewer)Inherited
PhabricatorUser | $viewer |
wild |
public function getViewer()Inherited
wild |
public function setOverrideURI($override_uri)Inherited
$override_uri |
wild |
final public function setController($controller)Inherited
PhabricatorController | $controller |
wild |
final public function getController()Inherited
wild |
final public function setNavigation($navigation)Inherited
AphrontSideNavFilterView | $navigation |
wild |
final public function getNavigation()Inherited
wild |
public function setPreferences($preferences)Inherited
PhabricatorUserPreferences | $preferences |
wild |
public function getPreferences()Inherited
wild |
final public static function getAllPanels()Inherited
wild |
final public static function getAllDisplayPanels()Inherited
wild |
final public function getPanelGroup()Inherited
wild |
public function getPanelKey()
Return a unique string used in the URI to identify this panel, like "example".
string | Unique panel identifier (used in URIs). |
public function getPanelName()
Return a human-readable description of the panel's contents, like "Example Settings".
string | Human-readable panel name. |
public function getPanelMenuIcon()
Return an icon for the panel in the menu.
string | Icon identifier. |
public function getPanelGroupKey()
Return a panel group key constant for this panel.
const | Panel group key. |
public function isEnabled()Inherited
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.
bool | True if the panel should be shown. |
public function isUserPanel()Inherited
Return true if this panel is available to users while editing their own settings.
bool | True to enable management on behalf of a user. |
public function isManagementPanel()Inherited
Return true if this panel is available to administrators while managing bot and mailing list accounts.
bool | True to enable management on behalf of accounts. |
public function isTemplatePanel()Inherited
Return true if this panel is available while editing settings templates.
bool | True to allow editing in templates. |
public function isMultiFactorEnrollmentPanel()
Return true if this panel should be available when enrolling in MFA on a new account with MFA requiredd.
bool | True to allow configuration during MFA enrollment. |
public function processRequest($request)
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.
AphrontRequest | $request | Incoming request. |
wild | Response to request, either as an @{class:AphrontResponse} or something which can be composed into a @{class:AphrontView}. |
final public function getPanelURI($path)Inherited
Get the URI for this panel.
string? | $path | Optional path to append. |
string | Relative URI for the panel. |
final public function getPanelOrderVector()Inherited
Generates a key to sort the list of panels.
string | Sortable key. |
protected function newDialog()Inherited
wild |
protected function writeSetting($preferences, $key, $value)Inherited
PhabricatorUserPreferences | $preferences | |
$key | ||
$value |
wild |
public function newBox($title, $content, $actions)Inherited
$title | ||
$content | ||
$actions |
wild |