Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83539248
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
Tue, Sep 17, 16:54
Size
812 B
Mime Type
text/x-php
Expires
Thu, Sep 19, 16:54 (2 d)
Engine
blob
Format
Raw Data
Handle
20854265
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
)
{
return
$object
->
getFieldValuesForConduit
();
}
public
function
getSearchAttachments
(
$object
)
{
return
$object
->
getConduitSearchAttachments
();
}
}
Event Timeline
Log In to Comment