Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96578978
PhabricatorQuickSearchEngineExtension.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
Sat, Dec 28, 11:18
Size
479 B
Mime Type
text/x-php
Expires
Mon, Dec 30, 11:18 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23210564
Attached To
rPH Phabricator
PhabricatorQuickSearchEngineExtension.php
View Options
<?php
abstract
class
PhabricatorQuickSearchEngineExtension
extends
Phobject
{
abstract
public
function
newQuickSearchDatasources
();
final
public
static
function
getAllDatasources
()
{
$extensions
=
id
(
new
PhutilClassMapQuery
())
->
setAncestorClass
(
__CLASS__
)
->
execute
();
$datasources
=
array
();
foreach
(
$extensions
as
$extension
)
{
$datasources
[]
=
$extension
->
newQuickSearchDatasources
();
}
return
array_mergev
(
$datasources
);
}
}
Event Timeline
Log In to Comment