Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80406857
PhabricatorHandlesEditField.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, Aug 31, 13:50
Size
948 B
Mime Type
text/x-php
Expires
Mon, Sep 2, 13:50 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20363048
Attached To
rPH Phabricator
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
();
}
}
Event Timeline
Log In to Comment