Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98060229
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
Thu, Jan 9, 04:40
Size
948 B
Mime Type
text/x-php
Expires
Sat, Jan 11, 04:40 (1 d, 11 h)
Engine
blob
Format
Raw Data
Handle
23491011
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