Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893783
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/applications/search/phidtype/PhabricatorProfilePanelPHIDType.php b/src/applications/search/phidtype/PhabricatorProfilePanelPHIDType.php
index c96c0717a9..e2285e2543 100644
--- a/src/applications/search/phidtype/PhabricatorProfilePanelPHIDType.php
+++ b/src/applications/search/phidtype/PhabricatorProfilePanelPHIDType.php
@@ -1,40 +1,39 @@
<?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'));
- $handle->setURI($config->getURI());
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Jan 19, 19:03 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127662
Default Alt Text
(1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment