Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80606591
PhabricatorFileEditField.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, Sep 1, 15:35
Size
501 B
Mime Type
text/x-php
Expires
Tue, Sep 3, 15:35 (2 d)
Engine
blob
Format
Raw Data
Handle
20405855
Attached To
rPH Phabricator
PhabricatorFileEditField.php
View Options
<?php
final
class
PhabricatorFileEditField
extends
PhabricatorEditField
{
protected
function
newControl
()
{
return
new
PHUIFormFileControl
();
}
protected
function
newHTTPParameterType
()
{
return
new
AphrontFileHTTPParameterType
();
}
protected
function
newConduitParameterType
()
{
return
new
ConduitPHIDParameterType
();
}
public
function
appendToForm
(
AphrontFormView
$form
)
{
$form
->
setEncType
(
'multipart/form-data'
);
return
parent
::
appendToForm
(
$form
);
}
}
Event Timeline
Log In to Comment