public function setContextObject($object)
public function setContextObject($object)
Parameters
$object |
Return
wild |
public function getContextObject()
public function getContextObject()
Return
wild |
public function setPanelKey($panel_key)
public function setPanelKey($panel_key)
Parameters
$panel_key |
Return
wild |
public function getPanelKey()
public function getPanelKey()
Return
wild |
public function setHeaderMode($header_mode)
public function setHeaderMode($header_mode)
Parameters
$header_mode |
Return
wild |
public function getHeaderMode()
public function getHeaderMode()
Return
wild |
public function setPanelHandle($panel_handle)
public function setPanelHandle($panel_handle)
Parameters
PhabricatorObjectHandle | $panel_handle |
Return
wild |
public function getPanelHandle()
public function getPanelHandle()
Return
wild |
public function isEditMode()
public function isEditMode()
Return
wild |
public function setEditMode($mode)
public function setEditMode($mode)
Parameters
$mode |
Return
wild |
public function setEnableAsyncRendering($enable)
public function setEnableAsyncRendering($enable)
Allow the engine to render the panel via Ajax.
Parameters
$enable |
Return
wild |
public function setParentPanelPHIDs($parents)
public function setParentPanelPHIDs($parents)
Parameters
array | $parents |
Return
wild |
public function getParentPanelPHIDs()
public function getParentPanelPHIDs()
Return
wild |
public function setViewer($viewer)
public function setViewer($viewer)
Parameters
PhabricatorUser | $viewer |
Return
wild |
public function getViewer()
public function getViewer()
Return
wild |
public function setPanel($panel)
public function setPanel($panel)
Parameters
PhabricatorDashboardPanel | $panel |
Return
wild |
public function setMovable($movable)
public function setMovable($movable)
Parameters
$movable |
Return
wild |
public function getMovable()
public function getMovable()
Return
wild |
public function getPanel()
public function getPanel()
Return
wild |
public function setPanelPHID($panel_phid)
public function setPanelPHID($panel_phid)
Parameters
$panel_phid |
Return
wild |
public function getPanelPHID()
public function getPanelPHID()
Return
wild |
public function renderPanel()
public function renderPanel()
Return
wild |
private function renderNormalPanel()
private function renderNormalPanel()
Return
wild |
private function renderAsyncPanel()
private function renderAsyncPanel()
Return
wild |
private function renderErrorPanel($title, $body)
private function renderErrorPanel($title, $body)
Parameters
$title | ||
$body |
Return
wild |
private function renderPanelDiv($content, $header, $id)
private function renderPanelDiv($content, $header, $id)
Parameters
$content | ||
$header | ||
$id |
Return
wild |
private function renderPanelHeader()
private function renderPanelHeader()
Return
wild |
private function addPanelHeaderActions($header)
private function addPanelHeaderActions($header)
Parameters
PHUIHeaderView | $header |
Return
wild |
private function detectRenderingCycle($panel)
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 | $panel | Panel being rendered. |
Return
void |
private function getContextPHID()
private function getContextPHID()
Return
wild |