Differential D13612 Diff 32970 src/applications/diffusion/herald/DiffusionPreCommitContentAuthorRawHeraldField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/herald/DiffusionPreCommitContentAuthorRawHeraldField.php
<?php | <?php | ||||
final class DiffusionPreCommitContentAuthorRawHeraldField | final class DiffusionPreCommitContentAuthorRawHeraldField | ||||
extends DiffusionPreCommitContentHeraldField { | extends DiffusionPreCommitContentHeraldField { | ||||
const FIELDCONST = 'diffusion.pre.commit.author.raw'; | const FIELDCONST = 'diffusion.pre.commit.author.raw'; | ||||
public function getHeraldFieldName() { | public function getHeraldFieldName() { | ||||
return pht('Raw Author'); | return pht('Raw Author'); | ||||
} | } | ||||
public function getHeraldFieldValue($object) { | public function getHeraldFieldValue($object) { | ||||
return $this->getAdapter()->getAuthorRaw(); | return $this->getAdapter()->getAuthorRaw(); | ||||
} | } | ||||
protected function getHeraldFieldStandardConditions() { | protected function getHeraldFieldStandardType() { | ||||
return self::STANDARD_TEXT; | return self::STANDARD_TEXT; | ||||
} | } | ||||
public function getHeraldFieldValueType($condition) { | |||||
return HeraldAdapter::VALUE_TEXT; | |||||
} | |||||
} | } |