Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112870628
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
Tue, May 13, 09:54
Size
948 B
Mime Type
text/x-php
Expires
Thu, May 15, 09:54 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26062738
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