Page MenuHomec4science

PhrictionDocumentAuthorHeraldField.php
No OneTemporary

File Metadata

Created
Thu, Oct 3, 05:33

PhrictionDocumentAuthorHeraldField.php

<?php
final class PhrictionDocumentAuthorHeraldField
extends PhrictionDocumentHeraldField {
const FIELDCONST = 'phriction.document.author';
public function getHeraldFieldName() {
return pht('Author');
}
public function getHeraldFieldValue($object) {
return $object->getContent()->getAuthorPHID();
}
protected function getHeraldFieldStandardConditions() {
return self::STANDARD_PHID;
}
public function getHeraldFieldValueType($condition) {
return HeraldAdapter::VALUE_USER;
}
}

Event Timeline