Page MenuHomec4science

PholioMockAuthorHeraldField.php
No OneTemporary

File Metadata

Created
Wed, Jan 8, 02:49

PholioMockAuthorHeraldField.php

<?php
final class PholioMockAuthorHeraldField
extends PholioMockHeraldField {
const FIELDCONST = 'pholio.mock.author';
public function getHeraldFieldName() {
return pht('Author');
}
public function getHeraldFieldValue($object) {
return $object->getAuthorPHID();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID;
}
public function getHeraldFieldValueType($condition) {
return HeraldAdapter::VALUE_USER;
}
}

Event Timeline