Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F113281036
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, May 16, 21:04
Size
1 KB
Mime Type
text/x-php
Expires
Sun, May 18, 21:04 (2 d)
Engine
blob
Format
Raw Data
Handle
26216788
Attached To
rPH Phabricator
PhabricatorApplicationPonder.php
View Options
<?php
final
class
PhabricatorApplicationPonder
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/ponder/'
;
}
public
function
getShortDescription
()
{
return
'Find Answers'
;
}
public
function
getIconName
()
{
return
'ponder'
;
}
public
function
getFactObjectsForAnalysis
()
{
return
array
(
new
PonderQuestion
(),
);
}
public
function
loadStatus
(
PhabricatorUser
$user
)
{
// replace with "x new unanswered questions" or some such
$status
=
array
();
return
$status
;
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_COMMUNICATION
;
}
public
function
getroutes
()
{
return
array
(
'/Q(?P<id>[1-9]
\d
*)'
=>
'PonderQuestionViewController'
,
'/ponder/'
=>
array
(
'(?P<page>feed/)?'
=>
'PonderFeedController'
,
'(?P<page>questions)/'
=>
'PonderFeedController'
,
'(?P<page>answers)/'
=>
'PonderFeedController'
,
'answer/add/'
=>
'PonderAnswerSaveController'
,
'answer/preview/'
=>
'PonderAnswerPreviewController'
,
'question/ask/'
=>
'PonderQuestionAskController'
,
'question/preview/'
=>
'PonderQuestionPreviewController'
,
'comment/add/'
=>
'PonderCommentSaveController'
,
'(?P<kind>question)/vote/'
=>
'PonderVoteSaveController'
,
'(?P<kind>answer)/vote/'
=>
'PonderVoteSaveController'
));
}
}
Event Timeline
Log In to Comment