Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77268623
PhabricatorSearchDatasource.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, Aug 13, 12:22
Size
733 B
Mime Type
text/x-php
Expires
Thu, Aug 15, 12:22 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
19844034
Attached To
rPH Phabricator
PhabricatorSearchDatasource.php
View Options
<?php
final
class
PhabricatorSearchDatasource
extends
PhabricatorTypeaheadCompositeDatasource
{
public
function
getBrowseTitle
()
{
return
pht
(
'Browse Results'
);
}
public
function
getPlaceholderText
()
{
return
pht
(
'Type an object name...'
);
}
public
function
getDatasourceApplicationClass
()
{
return
'PhabricatorSearchApplication'
;
}
public
function
getComponentDatasources
()
{
return
array
(
id
(
new
PhabricatorPeopleDatasource
())->
setEnrichResults
(
true
),
new
PhabricatorProjectDatasource
(),
new
PhabricatorApplicationDatasource
(),
new
PhabricatorTypeaheadMonogramDatasource
(),
new
DiffusionRepositoryDatasource
(),
new
DiffusionSymbolDatasource
(),
);
}
}
Event Timeline
Log In to Comment