Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101026394
PhabricatorFileListController.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
Tue, Feb 4, 22:51
Size
701 B
Mime Type
text/x-php
Expires
Thu, Feb 6, 22:51 (2 d)
Engine
blob
Format
Raw Data
Handle
24076298
Attached To
rPH Phabricator
PhabricatorFileListController.php
View Options
<?php
final
class
PhabricatorFileListController
extends
PhabricatorFileController
{
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
isGlobalDragAndDropUploadEnabled
()
{
return
true
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
return
id
(
new
PhabricatorFileSearchEngine
())
->
setController
(
$this
)
->
buildResponse
();
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$crumbs
->
addAction
(
id
(
new
PHUIListItemView
())
->
setName
(
pht
(
'Upload File'
))
->
setIcon
(
'fa-upload'
)
->
setHref
(
$this
->
getApplicationURI
(
'/upload/'
)));
return
$crumbs
;
}
}
Event Timeline
Log In to Comment