Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F566168
PhabricatorCheckboxesEditField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
737 B
Referenced Files
None
Subscribers
None
PhabricatorCheckboxesEditField.php
View Options
<?php
final
class
PhabricatorCheckboxesEditField
extends
PhabricatorEditField
{
private
$options
;
protected
function
newControl
()
{
$options
=
$this
->
getOptions
();
return
id
(
new
AphrontFormCheckboxControl
())
->
setOptions
(
$options
);
}
protected
function
newConduitParameterType
()
{
return
new
ConduitStringListParameterType
();
}
protected
function
newHTTPParameterType
()
{
return
new
AphrontStringListHTTPParameterType
();
}
public
function
setOptions
(
array
$options
)
{
$this
->
options
=
$options
;
return
$this
;
}
public
function
getOptions
()
{
if
(
$this
->
options
===
null
)
{
throw
new
PhutilInvalidStateException
(
'setOptions'
);
}
return
$this
->
options
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 10:35 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
104356
Default Alt Text
PhabricatorCheckboxesEditField.php (737 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment