public function getPanelTypeKey()
public function getPanelTypeKey()
Return
wild |
public function getPanelTypeName()
public function getPanelTypeName()
Return
wild |
public function getPanelTypeDescription()
public function getPanelTypeDescription()
Return
wild |
public function getIcon()
public function getIcon()
Return
wild |
public function renderPanelContent($viewer, $panel, $engine)
public function renderPanelContent($viewer, $panel, $engine)
Parameters
PhabricatorUser | $viewer | |
PhabricatorDashboardPanel | $panel | |
PhabricatorDashboardPanelRenderingEngine | $engine |
Return
wild |
public function shouldRenderAsync()Inherited
public function shouldRenderAsync()
Inherited
PhabricatorDashboardPanelType
Should this panel pull content in over AJAX?
Normally, panels use AJAX to render their content. This makes the page interactable sooner, allows panels to render in parallel, and prevents one slow panel from slowing everything down.
However, some panels are very cheap to build (i.e., no expensive service calls or complicated rendering). In these cases overall performance can be improved by disabling async rendering so the panel rendering happens in the same process.
Return
bool | True to enable asynchronous rendering when appropriate. |
public function adjustPanelHeader($viewer, $panel, $engine, $header)
public function adjustPanelHeader($viewer, $panel, $engine, $header)
Parameters
PhabricatorUser | $viewer | |
PhabricatorDashboardPanel | $panel | |
PhabricatorDashboardPanelRenderingEngine | $engine | |
PHUIHeaderView | $header |
Return
wild |
public static function getAllPanelTypes()Inherited
public static function getAllPanelTypes()
Inherited
Return
wild |
final public function getEditEngineFields($panel)Inherited
final public function getEditEngineFields($panel)
Inherited
Parameters
PhabricatorDashboardPanel | $panel |
Return
wild |
protected function newEditEngineFields($panel)
protected function newEditEngineFields($panel)
Parameters
PhabricatorDashboardPanel | $panel |
Return
wild |
public function getSubpanelPHIDs($panel)Inherited
public function getSubpanelPHIDs($panel)
Inherited
Parameters
PhabricatorDashboardPanel | $panel |
Return
wild |
public function newHeaderEditActions($panel, $viewer, $context_phid)Inherited
public function newHeaderEditActions($panel, $viewer, $context_phid)
Inherited
Parameters
PhabricatorDashboardPanel | $panel | |
PhabricatorUser | $viewer | |
$context_phid |
Return
wild |