Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102437389
DifferentialRevisionAuthorHeraldField.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
Thu, Feb 20, 17:33
Size
500 B
Mime Type
text/x-php
Expires
Sat, Feb 22, 17:33 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24356987
Attached To
rPH Phabricator
DifferentialRevisionAuthorHeraldField.php
View Options
<?php
final
class
DifferentialRevisionAuthorHeraldField
extends
DifferentialRevisionHeraldField
{
const
FIELDCONST
=
'differential.revision.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