mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 03:02:43 +01:00
28 lines
507 B
PHP
28 lines
507 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorEditEngineColumnsCommentAction
|
||
|
extends PhabricatorEditEngineCommentAction {
|
||
|
|
||
|
private $columnMap;
|
||
|
|
||
|
public function setColumnMap(array $column_map) {
|
||
|
$this->columnMap = $column_map;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
public function getColumnMap() {
|
||
|
return $this->columnMap;
|
||
|
}
|
||
|
|
||
|
public function getPHUIXControlType() {
|
||
|
return 'optgroups';
|
||
|
}
|
||
|
|
||
|
public function getPHUIXControlSpecification() {
|
||
|
return array(
|
||
|
'groups' => $this->getColumnMap(),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|