Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97020591
PhabricatorPhragmentApplication.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
Wed, Jan 1, 17:16
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Jan 3, 17:16 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23313805
Attached To
rPH Phabricator
PhabricatorPhragmentApplication.php
View Options
<?php
final
class
PhabricatorPhragmentApplication
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/phragment/'
;
}
public
function
getShortDescription
()
{
return
pht
(
'Versioned Artifact Storage'
);
}
public
function
getIconName
()
{
return
'phragment'
;
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
26
\x
B6"
;
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_UTILITIES
;
}
public
function
isBeta
()
{
return
true
;
}
public
function
canUninstall
()
{
return
true
;
}
public
function
getRoutes
()
{
return
array
(
'/phragment/'
=>
array
(
''
=>
'PhragmentBrowseController'
,
'browse/(?P<dblob>.*)'
=>
'PhragmentBrowseController'
,
'create/(?P<dblob>.*)'
=>
'PhragmentCreateController'
,
'update/(?P<dblob>.+)'
=>
'PhragmentUpdateController'
,
'policy/(?P<dblob>.+)'
=>
'PhragmentPolicyController'
,
'history/(?P<dblob>.+)'
=>
'PhragmentHistoryController'
,
'zip/(?P<dblob>.+)'
=>
'PhragmentZIPController'
,
'zip@(?P<snapshot>[^/]+)/(?P<dblob>.+)'
=>
'PhragmentZIPController'
,
'version/(?P<id>[0-9]*)/'
=>
'PhragmentVersionController'
,
'patch/(?P<aid>[0-9x]*)/(?P<bid>[0-9]*)/'
=>
'PhragmentPatchController'
,
'revert/(?P<id>[0-9]*)/(?P<dblob>.*)'
=>
'PhragmentRevertController'
,
'snapshot/'
=>
array
(
'create/(?P<dblob>.*)'
=>
'PhragmentSnapshotCreateController'
,
'view/(?P<id>[0-9]*)/'
=>
'PhragmentSnapshotViewController'
,
'delete/(?P<id>[0-9]*)/'
=>
'PhragmentSnapshotDeleteController'
,
'promote/'
=>
array
(
'latest/(?P<dblob>.*)'
=>
'PhragmentSnapshotPromoteController'
,
'(?P<id>[0-9]*)/'
=>
'PhragmentSnapshotPromoteController'
,
),
),
),
);
}
protected
function
getCustomCapabilities
()
{
return
array
(
PhragmentCapabilityCanCreate
::
CAPABILITY
=>
array
(),
);
}
}
Event Timeline
Log In to Comment