Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1138277
PhabricatorEditEngineCheckboxesCommentAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
723 B
Referenced Files
None
Subscribers
None
PhabricatorEditEngineCheckboxesCommentAction.php
View Options
<?php
final
class
PhabricatorEditEngineCheckboxesCommentAction
extends
PhabricatorEditEngineCommentAction
{
private
$options
=
array
();
public
function
setOptions
(
array
$options
)
{
$this
->
options
=
$options
;
return
$this
;
}
public
function
getOptions
()
{
return
$this
->
options
;
}
public
function
getPHUIXControlType
()
{
return
'checkboxes'
;
}
public
function
getPHUIXControlSpecification
()
{
$options
=
$this
->
getOptions
();
$labels
=
array
();
foreach
(
$options
as
$key
=>
$option
)
{
$labels
[
$key
]
=
hsprintf
(
'%s'
,
$option
);
}
return
array
(
'value'
=>
$this
->
getValue
(),
'keys'
=>
array_keys
(
$options
),
'labels'
=>
$labels
,
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jul 1, 7:44 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
268929
Default Alt Text
PhabricatorEditEngineCheckboxesCommentAction.php (723 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment