Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93227984
PholioMockAuthorHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 27, 04:35
Size
470 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 04:35 (2 d)
Engine
blob
Format
Raw Data
Handle
22569270
Attached To
rPH Phabricator
PholioMockAuthorHeraldField.php
View Options
<?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
Log In to Comment