Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93790801
PhabricatorSearchApplication.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
Sun, Dec 1, 13:02
Size
1 KB
Mime Type
text/x-php
Expires
Tue, Dec 3, 13:02 (2 d)
Engine
blob
Format
Raw Data
Handle
22705235
Attached To
rPH Phabricator
PhabricatorSearchApplication.php
View Options
<?php
final
class
PhabricatorSearchApplication
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
getIcon
()
{
return
'fa-search'
;
}
public
function
isLaunchable
()
{
return
false
;
}
public
function
getRoutes
()
{
return
array
(
'/search/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'PhabricatorSearchController'
,
'index/(?P<phid>[^/]+)/'
=>
'PhabricatorSearchIndexController'
,
'hovercard/'
=>
'PhabricatorSearchHovercardController'
,
'edit/'
=>
array
(
'key/(?P<queryKey>[^/]+)/'
=>
'PhabricatorSearchEditController'
,
'id/(?P<id>[^/]+)/'
=>
'PhabricatorSearchEditController'
,
),
'default/(?P<queryKey>[^/]+)/(?P<engine>[^/]+)/'
=>
'PhabricatorSearchDefaultController'
,
'delete/'
=>
array
(
'key/(?P<queryKey>[^/]+)/(?P<engine>[^/]+)/'
=>
'PhabricatorSearchDeleteController'
,
'id/(?P<id>[^/]+)/'
=>
'PhabricatorSearchDeleteController'
,
),
'order/(?P<engine>[^/]+)/'
=>
'PhabricatorSearchOrderController'
,
'rel/(?P<relationshipKey>[^/]+)/(?P<sourcePHID>[^/]+)/'
=>
'PhabricatorSearchRelationshipController'
,
'source/(?P<relationshipKey>[^/]+)/(?P<sourcePHID>[^/]+)/'
=>
'PhabricatorSearchRelationshipSourceController'
,
),
);
}
}
Event Timeline
Log In to Comment