Differential D15200 Diff 36696 src/applications/search/storage/PhabricatorProfilePanelConfiguration.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/storage/PhabricatorProfilePanelConfiguration.php
| Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | final class PhabricatorProfilePanelConfiguration | ||||
| public function canMakeDefault() { | public function canMakeDefault() { | ||||
| return $this->getPanel()->canMakeDefault($this); | return $this->getPanel()->canMakeDefault($this); | ||||
| } | } | ||||
| public function canHidePanel() { | public function canHidePanel() { | ||||
| return $this->getPanel()->canHidePanel($this); | return $this->getPanel()->canHidePanel($this); | ||||
| } | } | ||||
| public function shouldEnableForObject($object) { | |||||
| return $this->getPanel()->shouldEnableForObject($object); | |||||
| } | |||||
| public function getSortKey() { | public function getSortKey() { | ||||
| $order = $this->getPanelOrder(); | $order = $this->getPanelOrder(); | ||||
| if ($order === null) { | if ($order === null) { | ||||
| $order = 'Z'; | $order = 'Z'; | ||||
| } else { | } else { | ||||
| $order = sprintf('%020d', $order); | $order = sprintf('%020d', $order); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines | |||||