mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 03:02:43 +01:00
67629aab14
Summary: Ref T6027. Try this out and see how it feels? Clear issues: - This definitely shouldn't be at the top. - You should probably be able to select it multiple times? - Some of the "which columns show up" rules might need adjustment? - Diamond marker maybe not great? Not sure I love this but it doesn't feel //terrible//... Test Plan: {F1207891} Reviewers: chad Reviewed By: chad Maniphest Tasks: T6027 Differential Revision: https://secure.phabricator.com/D15638
27 lines
507 B
PHP
27 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(),
|
|
);
|
|
}
|
|
|
|
}
|