mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
31 lines
600 B
PHP
31 lines
600 B
PHP
|
<?php
|
||
|
|
||
|
final class DifferentialSubscribersCommitMessageField
|
||
|
extends DifferentialCommitMessageField {
|
||
|
|
||
|
const FIELDKEY = 'ccPHIDs';
|
||
|
|
||
|
public function getFieldName() {
|
||
|
return pht('Subscribers');
|
||
|
}
|
||
|
|
||
|
public function getFieldAliases() {
|
||
|
return array(
|
||
|
'CC',
|
||
|
'CCs',
|
||
|
'Subscriber',
|
||
|
);
|
||
|
}
|
||
|
|
||
|
public function parseFieldValue($value) {
|
||
|
return $this->parseObjectList(
|
||
|
$value,
|
||
|
array(
|
||
|
PhabricatorPeopleUserPHIDType::TYPECONST,
|
||
|
PhabricatorProjectProjectPHIDType::TYPECONST,
|
||
|
PhabricatorOwnersPackagePHIDType::TYPECONST,
|
||
|
));
|
||
|
}
|
||
|
|
||
|
}
|