Differential D17068 Diff 41084 src/applications/differential/customfield/DifferentialJIRAIssuesField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialJIRAIssuesField.php
| Show First 20 Lines • Show All 289 Lines • ▼ Show 20 Lines | public function parseValueFromCommitMessage($value) { | ||||
| return preg_split('/[\s,]+/', $value, $limit = -1, PREG_SPLIT_NO_EMPTY); | return preg_split('/[\s,]+/', $value, $limit = -1, PREG_SPLIT_NO_EMPTY); | ||||
| } | } | ||||
| public function readValueFromCommitMessage($value) { | public function readValueFromCommitMessage($value) { | ||||
| $this->setValue($value); | $this->setValue($value); | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function renderCommitMessageValue(array $handles) { | public function renderCommitMessageValue(array $handles) { | ||||
| $value = $this->getValue(); | $value = $this->getValue(); | ||||
| if (!$value) { | if (!$value) { | ||||
| return null; | return null; | ||||
| } | } | ||||
| return implode(', ', $value); | return implode(', ', $value); | ||||
| } | } | ||||
| public function shouldAppearInConduitDictionary() { | public function shouldAppearInConduitDictionary() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function shouldAppearInConduitTransactions() { | |||||
| return true; | |||||
| } | |||||
| protected function newConduitEditParameterType() { | |||||
| return new ConduitStringListParameterType(); | |||||
| } | |||||
| } | } | ||||