Page MenuHomec4science

PholioMockAuthorHeraldField.php
No OneTemporary

File Metadata

Created
Tue, Nov 26, 21:38

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;
}
protected function getDatasource() {
return new PhabricatorPeopleDatasource();
}
}

Event Timeline