Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93191143
PhabricatorApplicationPonder.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, Nov 26, 21:52
Size
1 KB
Mime Type
text/x-php
Expires
Thu, Nov 28, 21:52 (2 d)
Engine
blob
Format
Raw Data
Handle
22592766
Attached To
rPH Phabricator
PhabricatorApplicationPonder.php
View Options
<?php
final
class
PhabricatorApplicationPonder
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/ponder/'
;
}
public
function
getShortDescription
()
{
return
pht
(
'Questions and Answers'
);
}
public
function
getIconName
()
{
return
'ponder'
;
}
public
function
getFactObjectsForAnalysis
()
{
return
array
(
new
PonderQuestion
(),
);
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
97
\x
B3"
;
}
public
function
loadStatus
(
PhabricatorUser
$user
)
{
// replace with "x new unanswered questions" or some such
$status
=
array
();
return
$status
;
}
public
function
getRemarkupRules
()
{
return
array
(
new
PonderRemarkupRule
(),
);
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_COMMUNICATION
;
}
public
function
isBeta
()
{
return
true
;
}
public
function
getRoutes
()
{
return
array
(
'/Q(?P<id>[1-9]
\d
*)'
=>
'PonderQuestionViewController'
,
'/ponder/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'PonderQuestionListController'
,
'answer/add/'
=>
'PonderAnswerSaveController'
,
'answer/edit/(?P<id>
\d
+)/'
=>
'PonderAnswerEditController'
,
'answer/comment/(?P<id>
\d
+)/'
=>
'PonderAnswerCommentController'
,
'answer/history/(?P<id>
\d
+)/'
=>
'PonderAnswerHistoryController'
,
'question/edit/(?:(?P<id>
\d
+)/)?'
=>
'PonderQuestionEditController'
,
'question/comment/(?P<id>
\d
+)/'
=>
'PonderQuestionCommentController'
,
'question/history/(?P<id>
\d
+)/'
=>
'PonderQuestionHistoryController'
,
'preview/'
=>
'PhabricatorMarkupPreviewController'
,
'question/(?P<status>open|close)/(?P<id>[1-9]
\d
*)/'
=>
'PonderQuestionStatusController'
,
'vote/'
=>
'PonderVoteSaveController'
,
),
);
}
}
Event Timeline
Log In to Comment