Page MenuHomePhorge

PhabricatorProfilePanel.php
No OneTemporary

Size
811 B
Referenced Files
None
Subscribers
None

PhabricatorProfilePanel.php

<?php
abstract class PhabricatorProfilePanel extends Phobject {
private $viewer;
final public function buildNavigationMenuItems(
PhabricatorProfilePanelConfiguration $config) {
return $this->newNavigationMenuItems($config);
}
abstract protected function newNavigationMenuItems(
PhabricatorProfilePanelConfiguration $config);
public function setViewer(PhabricatorUser $viewer) {
$this->viewer = $viewer;
return $this;
}
public function getViewer() {
return $this->viewer;
}
final public function getPanelKey() {
return $this->getPhobjectClassConstant('PANELKEY');
}
final public static function getAllPanels() {
return id(new PhutilClassMapQuery())
->setAncestorClass(__CLASS__)
->setUniqueMethod('getPanelKey')
->execute();
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Jun 17, 3:35 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
225592
Default Alt Text
PhabricatorProfilePanel.php (811 B)

Event Timeline