Differential D20384 Diff 48648 src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
Show All 37 Lines | public function setPanelHandle(PhabricatorObjectHandle $panel_handle) { | ||||
$this->panelHandle = $panel_handle; | $this->panelHandle = $panel_handle; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getPanelHandle() { | public function getPanelHandle() { | ||||
return $this->panelHandle; | return $this->panelHandle; | ||||
} | } | ||||
public function isEditMode() { | |||||
return ($this->getHeaderMode() === self::HEADER_MODE_EDIT); | |||||
} | |||||
/** | /** | ||||
* Allow the engine to render the panel via Ajax. | * Allow the engine to render the panel via Ajax. | ||||
*/ | */ | ||||
public function setEnableAsyncRendering($enable) { | public function setEnableAsyncRendering($enable) { | ||||
$this->enableAsyncRendering = $enable; | $this->enableAsyncRendering = $enable; | ||||
return $this; | return $this; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 346 Lines • Show Last 20 Lines |