Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/storage/PhabricatorDashboardPanel.php
Show All 39 Lines | return array( | ||||
'name' => 'sort255', | 'name' => 'sort255', | ||||
'panelType' => 'text64', | 'panelType' => 'text64', | ||||
'authorPHID' => 'phid', | 'authorPHID' => 'phid', | ||||
'isArchived' => 'bool', | 'isArchived' => 'bool', | ||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function generatePHID() { | public function getPHIDType() { | ||||
return PhabricatorPHID::generateNewPHID( | return PhabricatorDashboardPanelPHIDType::TYPECONST; | ||||
PhabricatorDashboardPanelPHIDType::TYPECONST); | |||||
} | } | ||||
public function getProperty($key, $default = null) { | public function getProperty($key, $default = null) { | ||||
return idx($this->properties, $key, $default); | return idx($this->properties, $key, $default); | ||||
} | } | ||||
public function setProperty($key, $value) { | public function setProperty($key, $value) { | ||||
$this->properties[$key] = $value; | $this->properties[$key] = $value; | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |