Page MenuHomec4science

PhrictionDocumentAuthorHeraldField.php
No OneTemporary

File Metadata

Created
Mon, Mar 10, 07:04

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 getHeraldFieldStandardType() {
return self::STANDARD_PHID;
}
public function getHeraldFieldValueType($condition) {
return HeraldAdapter::VALUE_USER;
}
}

Event Timeline