Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99368758
PhabricatorColumnsEditField.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 23, 22:22
Size
893 B
Mime Type
text/x-php
Expires
Sat, Jan 25, 22:22 (2 d)
Engine
blob
Format
Raw Data
Handle
23787451
Attached To
rPH Phabricator
PhabricatorColumnsEditField.php
View Options
<?php
final
class
PhabricatorColumnsEditField
extends
PhabricatorPHIDListEditField
{
private
$columnMap
;
public
function
setColumnMap
(
array
$column_map
)
{
$this
->
columnMap
=
$column_map
;
return
$this
;
}
public
function
getColumnMap
()
{
return
$this
->
columnMap
;
}
protected
function
newControl
()
{
$control
=
id
(
new
AphrontFormHandlesControl
());
$control
->
setIsInvisible
(
true
);
return
$control
;
}
protected
function
newHTTPParameterType
()
{
return
new
AphrontPHIDListHTTPParameterType
();
}
protected
function
newConduitParameterType
()
{
return
new
ConduitColumnsParameterType
();
}
protected
function
newCommentAction
()
{
$column_map
=
$this
->
getColumnMap
();
if
(!
$column_map
)
{
return
null
;
}
return
id
(
new
PhabricatorEditEngineColumnsCommentAction
())
->
setColumnMap
(
$this
->
getColumnMap
());
}
}
Event Timeline
Log In to Comment