Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106892577
PhabricatorApplicationSearch.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, Apr 2, 04:07
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Apr 4, 04:07 (2 d)
Engine
blob
Format
Raw Data
Handle
25273939
Attached To
rPH Phabricator
PhabricatorApplicationSearch.php
View Options
<?php
final
class
PhabricatorApplicationSearch
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/search/'
;
}
public
function
getName
()
{
return
pht
(
'Search'
);
}
public
function
getShortDescription
()
{
return
pht
(
'Full-Text Search'
);
}
public
function
getFlavorText
()
{
return
pht
(
'Find stuff in big piles.'
);
}
public
function
getIconName
()
{
return
'search'
;
}
public
function
shouldAppearInLaunchView
()
{
return
false
;
}
public
function
getRoutes
()
{
return
array
(
'/search/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'PhabricatorSearchController'
,
'attach/(?P<phid>[^/]+)/(?P<type>
\w
+)/(?:(?P<action>
\w
+)/)?'
=>
'PhabricatorSearchAttachController'
,
'select/(?P<type>
\w
+)/'
=>
'PhabricatorSearchSelectController'
,
'index/(?P<phid>[^/]+)/'
=>
'PhabricatorSearchIndexController'
,
'hovercard/(?P<mode>retrieve|test)/'
=>
'PhabricatorSearchHovercardController'
,
'edit/(?P<queryKey>[^/]+)/'
=>
'PhabricatorSearchEditController'
,
'delete/(?P<queryKey>[^/]+)/(?P<engine>[^/]+)/'
=>
'PhabricatorSearchDeleteController'
,
'order/(?P<engine>[^/]+)/'
=>
'PhabricatorSearchOrderController'
,
),
);
}
}
Event Timeline
Log In to Comment