Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F118534764
PhabricatorDivinerApplication.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
Fri, Jun 20, 18:28
Size
1 KB
Mime Type
text/x-php
Expires
Sun, Jun 22, 18:28 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26899886
Attached To
rPH Phabricator
PhabricatorDivinerApplication.php
View Options
<?php
final
class
PhabricatorDivinerApplication
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/diviner/'
;
}
public
function
getFontIcon
()
{
return
'fa-sun-o'
;
}
public
function
getName
()
{
return
pht
(
'Diviner'
);
}
public
function
getShortDescription
()
{
return
pht
(
'Documentation'
);
}
public
function
getHelpDocumentationArticles
(
PhabricatorUser
$viewer
)
{
return
array
(
array
(
'name'
=>
pht
(
'Diviner User Guide'
),
'href'
=>
PhabricatorEnv
::
getDoclink
(
'Diviner User Guide'
),
),
);
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
97
\x
89"
;
}
public
function
getRoutes
()
{
return
array
(
'/diviner/'
=>
array
(
''
=>
'DivinerMainController'
,
'query/((?<key>[^/]+)/)?'
=>
'DivinerAtomListController'
,
'find/'
=>
'DivinerFindController'
,
),
'/book/(?P<book>[^/]+)/'
=>
'DivinerBookController'
,
'/book/'
.
'(?P<book>[^/]+)/'
.
'(?P<type>[^/]+)/'
.
'(?:(?P<context>[^/]+)/)?'
.
'(?P<name>[^/]+)/'
.
'(?:(?P<index>
\d
+)/)?'
=>
'DivinerAtomController'
,
);
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_UTILITIES
;
}
public
function
getRemarkupRules
()
{
return
array
(
new
DivinerSymbolRemarkupRule
(),
);
}
public
function
getApplicationSearchDocumentTypes
()
{
return
array
(
DivinerAtomPHIDType
::
TYPECONST
,
DivinerBookPHIDType
::
TYPECONST
,
);
}
}
Event Timeline
Log In to Comment