Differential D13612 Diff 32970 src/applications/phriction/herald/PhrictionDocumentContentHeraldField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/herald/PhrictionDocumentContentHeraldField.php
<?php | <?php | ||||
final class PhrictionDocumentContentHeraldField | final class PhrictionDocumentContentHeraldField | ||||
extends PhrictionDocumentHeraldField { | extends PhrictionDocumentHeraldField { | ||||
const FIELDCONST = 'phriction.document.content'; | const FIELDCONST = 'phriction.document.content'; | ||||
public function getHeraldFieldName() { | public function getHeraldFieldName() { | ||||
return pht('Content'); | return pht('Content'); | ||||
} | } | ||||
public function getHeraldFieldValue($object) { | public function getHeraldFieldValue($object) { | ||||
return $object->getContent()->getContent(); | return $object->getContent()->getContent(); | ||||
} | } | ||||
protected function getHeraldFieldStandardConditions() { | protected function getHeraldFieldStandardType() { | ||||
return self::STANDARD_TEXT; | return self::STANDARD_TEXT; | ||||
} | } | ||||
public function getHeraldFieldValueType($condition) { | |||||
return HeraldAdapter::VALUE_TEXT; | |||||
} | |||||
} | } |