Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98096356
PhabricatorApplicationProject.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
Thu, Jan 9, 18:01
Size
2 KB
Mime Type
text/x-php
Expires
Sat, Jan 11, 18:01 (2 d)
Engine
blob
Format
Raw Data
Handle
23476043
Attached To
rPH Phabricator
PhabricatorApplicationProject.php
View Options
<?php
final
class
PhabricatorApplicationProject
extends
PhabricatorApplication
{
public
function
getName
()
{
return
pht
(
'Projects'
);
}
public
function
getShortDescription
()
{
return
pht
(
'Get Organized'
);
}
public
function
isPinnedByDefault
(
PhabricatorUser
$viewer
)
{
return
true
;
}
public
function
getBaseURI
()
{
return
'/project/'
;
}
public
function
getIconName
()
{
return
'projects'
;
}
public
function
getFlavorText
()
{
return
pht
(
'Group stuff into big piles.'
);
}
public
function
getRemarkupRules
()
{
return
array
(
new
ProjectRemarkupRule
(),
);
}
public
function
getEventListeners
()
{
return
array
(
new
PhabricatorProjectUIEventListener
(),
);
}
public
function
getRoutes
()
{
return
array
(
'/project/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'PhabricatorProjectListController'
,
'filter/(?P<filter>[^/]+)/'
=>
'PhabricatorProjectListController'
,
'edit/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectEditMainController'
,
'details/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectEditDetailsController'
,
'archive/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectArchiveController'
,
'members/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectMembersEditController'
,
'members/(?P<id>[1-9]
\d
*)/remove/'
=>
'PhabricatorProjectMembersRemoveController'
,
'view/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectProfileController'
,
'picture/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectEditPictureController'
,
'icon/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectEditIconController'
,
'create/'
=>
'PhabricatorProjectCreateController'
,
'board/(?P<id>[1-9]
\d
*)/'
.
'(?P<filter>filter/)?'
.
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'PhabricatorProjectBoardViewController'
,
'move/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectMoveController'
,
'board/(?P<projectID>[1-9]
\d
*)/edit/(?:(?P<id>
\d
+)/)?'
=>
'PhabricatorProjectBoardEditController'
,
'board/(?P<projectID>[1-9]
\d
*)/delete/(?:(?P<id>
\d
+)/)?'
=>
'PhabricatorProjectBoardDeleteController'
,
'board/(?P<projectID>[1-9]
\d
*)/column/(?:(?P<id>
\d
+)/)?'
=>
'PhabricatorProjectColumnDetailController'
,
'update/(?P<id>[1-9]
\d
*)/(?P<action>[^/]+)/'
=>
'PhabricatorProjectUpdateController'
,
'history/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectHistoryController'
,
'(?P<action>watch|unwatch)/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorProjectWatchController'
,
),
'/tag/'
=>
array
(
'(?P<slug>[^/]+)/'
=>
'PhabricatorProjectProfileController'
,
'(?P<slug>[^/]+)/board/'
=>
'PhabricatorProjectBoardViewController'
,
),
);
}
protected
function
getCustomCapabilities
()
{
return
array
(
ProjectCapabilityCreateProjects
::
CAPABILITY
=>
array
(
),
);
}
}
Event Timeline
Log In to Comment