Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/storage/PhabricatorDashboard.php
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | final class PhabricatorDashboard extends PhabricatorDashboardDAO | ||||
public function getPanels() { | public function getPanels() { | ||||
return $this->assertAttached($this->panels); | return $this->assertAttached($this->panels); | ||||
} | } | ||||
public function isArchived() { | public function isArchived() { | ||||
return ($this->getStatus() == self::STATUS_ARCHIVED); | return ($this->getStatus() == self::STATUS_ARCHIVED); | ||||
} | } | ||||
public function getViewURI() { | public function getURI() { | ||||
return '/dashboard/view/'.$this->getID().'/'; | return urisprintf('/dashboard/view/%d/', $this->getID()); | ||||
} | } | ||||
public function getObjectName() { | |||||
return pht('Dashboard %d', $this->getID()); | |||||
} | |||||
/* -( PhabricatorApplicationTransactionInterface )------------------------- */ | /* -( PhabricatorApplicationTransactionInterface )------------------------- */ | ||||
public function getApplicationTransactionEditor() { | public function getApplicationTransactionEditor() { | ||||
return new PhabricatorDashboardTransactionEditor(); | return new PhabricatorDashboardTransactionEditor(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |