Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F548771
PhabricatorHandlesEditField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
948 B
Referenced Files
None
Subscribers
None
PhabricatorHandlesEditField.php
View Options
<?php
final
class
PhabricatorHandlesEditField
extends
PhabricatorPHIDListEditField
{
private
$handleParameterType
;
private
$isInvisible
;
public
function
setHandleParameterType
(
AphrontHTTPParameterType
$type
)
{
$this
->
handleParameterType
=
$type
;
return
$this
;
}
public
function
getHandleParameterType
()
{
return
$this
->
handleParameterType
;
}
public
function
setIsInvisible
(
$is_invisible
)
{
$this
->
isInvisible
=
$is_invisible
;
return
$this
;
}
public
function
getIsInvisible
()
{
return
$this
->
isInvisible
;
}
protected
function
newControl
()
{
$control
=
id
(
new
AphrontFormHandlesControl
());
if
(
$this
->
getIsInvisible
())
{
$control
->
setIsInvisible
(
true
);
}
return
$control
;
}
protected
function
newHTTPParameterType
()
{
$type
=
$this
->
getHandleParameterType
();
if
(
$type
)
{
return
$type
;
}
return
new
AphrontPHIDListHTTPParameterType
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:54 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
108285
Default Alt Text
PhabricatorHandlesEditField.php (948 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment