Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F952465
PhabricatorProfilePanel.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
811 B
Referenced Files
None
Subscribers
None
PhabricatorProfilePanel.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment