Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81849206
PhabricatorProfilePanelPHIDType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Sep 8, 06:19
Size
822 B
Mime Type
text/x-php
Expires
Tue, Sep 10, 06:19 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20624675
Attached To
rPH Phabricator
PhabricatorProfilePanelPHIDType.php
View Options
<?php
final
class
PhabricatorProfilePanelPHIDType
extends
PhabricatorPHIDType
{
const
TYPECONST
=
'PANL'
;
public
function
getTypeName
()
{
return
pht
(
'Profile Panel'
);
}
public
function
newObject
()
{
return
new
PhabricatorProfilePanelConfiguration
();
}
public
function
getPHIDTypeApplicationClass
()
{
return
'PhabricatorSearchApplication'
;
}
protected
function
buildQueryForObjects
(
PhabricatorObjectQuery
$object_query
,
array
$phids
)
{
return
id
(
new
PhabricatorProfilePanelConfigurationQuery
())
->
withPHIDs
(
$phids
);
}
public
function
loadHandles
(
PhabricatorHandleQuery
$query
,
array
$handles
,
array
$objects
)
{
foreach
(
$handles
as
$phid
=>
$handle
)
{
$config
=
$objects
[
$phid
];
$handle
->
setName
(
pht
(
'Profile Panel'
));
}
}
}
Event Timeline
Log In to Comment