Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92694847
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
Fri, Nov 22, 20:44
Size
1 KB
Mime Type
text/x-php
Expires
Sun, Nov 24, 20:44 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22489120
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