Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92735052
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
Sat, Nov 23, 06:36
Size
1 KB
Mime Type
text/x-php
Expires
Mon, Nov 25, 06:36 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22500889
Attached To
rPH Phabricator
PhabricatorPhragmentApplication.php
View Options
<?php
final
class
PhabricatorPhragmentApplication
extends
PhabricatorApplication
{
public
function
getName
()
{
return
pht
(
'Phragment'
);
}
public
function
getBaseURI
()
{
return
'/phragment/'
;
}
public
function
getShortDescription
()
{
return
pht
(
'Versioned Artifact Storage'
);
}
public
function
getIcon
()
{
return
'fa-floppy-o'
;
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
96
\x
9B"
;
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_UTILITIES
;
}
public
function
isPrototype
()
{
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
(
PhragmentCanCreateCapability
::
CAPABILITY
=>
array
(),
);
}
}
Event Timeline
Log In to Comment