Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/phid/PhabricatorDashboardPHIDTypePanel.php
<?php | <?php | ||||
final class PhabricatorDashboardPHIDTypePanel extends PhabricatorPHIDType { | final class PhabricatorDashboardPHIDTypePanel extends PhabricatorPHIDType { | ||||
const TYPECONST = 'DSHP'; | const TYPECONST = 'DSHP'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Panel'); | return pht('Panel'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PhabricatorDashboardPanel(); | return new PhabricatorDashboardPanel(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |