Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96670449
PhabricatorPackagesApplication.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
Sun, Dec 29, 16:43
Size
1 KB
Mime Type
text/x-php
Expires
Tue, Dec 31, 16:43 (2 d)
Engine
blob
Format
Raw Data
Handle
23209821
Attached To
rPH Phabricator
PhabricatorPackagesApplication.php
View Options
<?php
final
class
PhabricatorPackagesApplication
extends
PhabricatorApplication
{
public
function
getName
()
{
return
pht
(
'Packages'
);
}
public
function
getShortDescription
()
{
return
pht
(
'Publish Software'
);
}
public
function
getFlavorText
()
{
return
pht
(
'Applications and Extensions'
);
}
public
function
getBaseURI
()
{
return
'/packages/'
;
}
public
function
getIcon
()
{
return
'fa-gift'
;
}
public
function
isPrototype
()
{
return
true
;
}
public
function
getRoutes
()
{
return
array
(
'/package/'
=>
array
(
'(?P<publisherKey>[^/]+)/'
=>
array
(
''
=>
'PhabricatorPackagesPublisherViewController'
,
'(?P<packageKey>[^/]+)/'
=>
array
(
''
=>
'PhabricatorPackagesPackageViewController'
,
),
),
),
'/packages/'
=>
array
(
'publisher/'
=>
array
(
$this
->
getQueryRoutePattern
()
=>
'PhabricatorPackagesPublisherListController'
,
$this
->
getEditRoutePattern
(
'edit/'
)
=>
'PhabricatorPackagesPublisherEditController'
,
),
'package/'
=>
array
(
$this
->
getQueryRoutePattern
()
=>
'PhabricatorPackagesPackageListController'
,
$this
->
getEditRoutePattern
(
'edit/'
)
=>
'PhabricatorPackagesPackageEditController'
,
),
),
);
}
}
Event Timeline
Log In to Comment