Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92703172
PhabricatorApplicationFiles.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, Nov 22, 22:52
Size
1 KB
Mime Type
text/x-php
Expires
Sun, Nov 24, 22:52 (2 d)
Engine
blob
Format
Raw Data
Handle
22490934
Attached To
rPH Phabricator
PhabricatorApplicationFiles.php
View Options
<?php
/**
* @group file
*/
final
class
PhabricatorApplicationFiles
extends
PhabricatorApplication
{
public
function
getBaseURI
()
{
return
'/file/'
;
}
public
function
getShortDescription
()
{
return
'Store and Share Files'
;
}
public
function
getIconName
()
{
return
'files'
;
}
public
function
getTitleGlyph
()
{
return
"
\x
E2
\x
87
\x
AA"
;
}
public
function
getFlavorText
()
{
return
pht
(
'Blob store for Pokemon pictures.'
);
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_UTILITIES
;
}
public
function
getQuickCreateURI
()
{
return
$this
->
getBaseURI
().
'upload/'
;
}
public
function
canUninstall
()
{
return
false
;
}
public
function
getRemarkupRules
()
{
return
array
(
new
PhabricatorRemarkupRuleEmbedFile
(),
);
}
public
function
getRoutes
()
{
return
array
(
'/F(?P<id>[1-9]
\d
*)'
=>
'PhabricatorFileShortcutController'
,
'/file/'
=>
array
(
'(query/(?P<key>[^/]+)/)?'
=>
'PhabricatorFileListController'
,
'upload/'
=>
'PhabricatorFileUploadController'
,
'dropupload/'
=>
'PhabricatorFileDropUploadController'
,
'compose/'
=>
'PhabricatorFileComposeController'
,
'comment/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorFileCommentController'
,
'delete/(?P<id>[1-9]
\d
*)/'
=>
'PhabricatorFileDeleteController'
,
'info/(?P<phid>[^/]+)/'
=>
'PhabricatorFileInfoController'
,
'data/(?P<key>[^/]+)/(?P<phid>[^/]+)/.*'
=>
'PhabricatorFileDataController'
,
'proxy/'
=>
'PhabricatorFileProxyController'
,
'xform/(?P<transform>[^/]+)/(?P<phid>[^/]+)/(?P<key>[^/]+)/'
=>
'PhabricatorFileTransformController'
,
'uploaddialog/'
=>
'PhabricatorFileUploadDialogController'
,
),
);
}
}
Event Timeline
Log In to Comment