Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/diffusion/herald/DiffusionPreCommitContentAuthorRawHeraldField.php
12242 views
1
<?php
2
3
final class DiffusionPreCommitContentAuthorRawHeraldField
4
extends DiffusionPreCommitContentHeraldField {
5
6
const FIELDCONST = 'diffusion.pre.commit.author.raw';
7
8
public function getHeraldFieldName() {
9
return pht('Raw Author');
10
}
11
12
public function getHeraldFieldValue($object) {
13
return $this->getAdapter()->getAuthorRaw();
14
}
15
16
protected function getHeraldFieldStandardType() {
17
return self::STANDARD_TEXT;
18
}
19
20
}
21
22