Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90443965
DifferentialDiffAuthorHeraldField.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
Fri, Nov 1, 17:35
Size
488 B
Mime Type
text/x-php
Expires
Sun, Nov 3, 17:35 (2 d)
Engine
blob
Format
Raw Data
Handle
22076141
Attached To
rPH Phabricator
DifferentialDiffAuthorHeraldField.php
View Options
<?php
final
class
DifferentialDiffAuthorHeraldField
extends
DifferentialDiffHeraldField
{
const
FIELDCONST
=
'differential.diff.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