Differential D20407 Diff 48714 src/applications/dashboard/layoutconfig/PhabricatorDashboardColumn.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/layoutconfig/PhabricatorDashboardColumn.php
| <?php | <?php | ||||
| final class PhabricatorDashboardColumn | final class PhabricatorDashboardColumn | ||||
| extends Phobject { | extends Phobject { | ||||
| private $columnKey; | private $columnKey; | ||||
| private $classes = array(); | private $classes = array(); | ||||
| private $refs = array(); | |||||
| public function setColumnKey($column_key) { | public function setColumnKey($column_key) { | ||||
| $this->columnKey = $column_key; | $this->columnKey = $column_key; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getColumnKey() { | public function getColumnKey() { | ||||
| return $this->columnKey; | return $this->columnKey; | ||||
| } | } | ||||
| public function addClass($class) { | public function addClass($class) { | ||||
| $this->classes[] = $class; | $this->classes[] = $class; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getClasses() { | public function getClasses() { | ||||
| return $this->classes; | return $this->classes; | ||||
| } | } | ||||
| public function addPanelRef(PhabricatorDashboardPanelRef $ref) { | |||||
| $this->refs[] = $ref; | |||||
| return $this; | |||||
| } | |||||
| public function getPanelRefs() { | |||||
| return $this->refs; | |||||
| } | |||||
| } | } | ||||