Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2894463
PhabricatorSearchDatasource.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
744 B
Referenced Files
None
Subscribers
None
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
::
class
;
}
public
function
getComponentDatasources
(
)
{
$sources
=
id
(
new
PhabricatorDatasourceEngine
(
)
)
->
getAllQuickSearchDatasources
(
)
;
// These results are always rendered in the full browse display mode, so
// set the browse flag on all component sources.
foreach
(
$sources
as
$source
)
{
$source
->
setIsBrowse
(
true
)
;
}
return
$sources
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 19:55 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128199
Default Alt Text
PhabricatorSearchDatasource.php (744 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment