Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93250123
ConduitResultSearchEngineExtension.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
Wed, Nov 27, 08:45
Size
819 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 08:45 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22596464
Attached To
rPH Phabricator
ConduitResultSearchEngineExtension.php
View Options
<?php
final
class
ConduitResultSearchEngineExtension
extends
PhabricatorSearchEngineExtension
{
const
EXTENSIONKEY
=
'conduit'
;
public
function
isExtensionEnabled
()
{
return
true
;
}
public
function
getExtensionOrder
()
{
return
1500
;
}
public
function
getExtensionName
()
{
return
pht
(
'Support for ConduitResultInterface'
);
}
public
function
supportsObject
(
$object
)
{
return
(
$object
instanceof
PhabricatorConduitResultInterface
);
}
public
function
getFieldSpecificationsForConduit
(
$object
)
{
return
$object
->
getFieldSpecificationsForConduit
();
}
public
function
getFieldValuesForConduit
(
$object
,
$data
)
{
return
$object
->
getFieldValuesForConduit
();
}
public
function
getSearchAttachments
(
$object
)
{
return
$object
->
getConduitSearchAttachments
();
}
}
Event Timeline
Log In to Comment