Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorDashboardPanelRenderingEngine

final class PhabricatorDashboardPanelRenderingEngine
Phabricator Technical Documentation (Dashboard)

This class is not documented.

Methods

public function setContextObject($object)

This method is not documented.
Parameters
$object
Return
wild

public function getContextObject()

This method is not documented.
Return
wild

public function setPanelKey($panel_key)

This method is not documented.
Parameters
$panel_key
Return
wild

public function getPanelKey()

This method is not documented.
Return
wild

public function setHeaderMode($header_mode)

This method is not documented.
Parameters
$header_mode
Return
wild

public function getHeaderMode()

This method is not documented.
Return
wild

public function setPanelHandle($panel_handle)

This method is not documented.
Parameters
PhabricatorObjectHandle$panel_handle
Return
wild

public function getPanelHandle()

This method is not documented.
Return
wild

public function isEditMode()

This method is not documented.
Return
wild

public function setEditMode($mode)

This method is not documented.
Parameters
$mode
Return
wild

public function setEnableAsyncRendering($enable)

Allow the engine to render the panel via Ajax.

Parameters
$enable
Return
wild

public function setParentPanelPHIDs($parents)

This method is not documented.
Parameters
array$parents
Return
wild

public function getParentPanelPHIDs()

This method is not documented.
Return
wild

public function setViewer($viewer)

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

public function getViewer()

This method is not documented.
Return
wild

public function setPanel($panel)

This method is not documented.
Parameters
PhabricatorDashboardPanel$panel
Return
wild

public function setMovable($movable)

This method is not documented.
Parameters
$movable
Return
wild

public function getMovable()

This method is not documented.
Return
wild

public function getPanel()

This method is not documented.
Return
wild

public function setPanelPHID($panel_phid)

This method is not documented.
Parameters
$panel_phid
Return
wild

public function getPanelPHID()

This method is not documented.
Return
wild

public function renderPanel()

This method is not documented.
Return
wild

private function renderNormalPanel()

This method is not documented.
Return
wild

private function renderAsyncPanel()

This method is not documented.
Return
wild

private function renderErrorPanel($title, $body)

This method is not documented.
Parameters
$title
$body
Return
wild

private function renderPanelDiv($content, $header, $id)

This method is not documented.
Parameters
$content
$header
$id
Return
wild

private function renderPanelHeader()

This method is not documented.
Return
wild

private function addPanelHeaderActions($header)

This method is not documented.
Parameters
PHUIHeaderView$header
Return
wild

private function detectRenderingCycle($panel)

Detect graph cycles in panels, and deeply nested panels.

This method throws if the current rendering stack is too deep or contains a cycle. This can happen if you embed layout panels inside each other, build a big stack of panels, or embed a panel in remarkup inside another panel. Generally, all of this stuff is ridiculous and we just want to shut it down.

Parameters
PhabricatorDashboardPanel$panelPanel being rendered.
Return
void

private function getContextPHID()

This method is not documented.
Return
wild