Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81116937
DiffusionCommitAuthorHeraldField.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, Sep 4, 07:03
Size
525 B
Mime Type
text/x-php
Expires
Fri, Sep 6, 07:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20519466
Attached To
rPH Phabricator
DiffusionCommitAuthorHeraldField.php
View Options
<?php
final
class
DiffusionCommitAuthorHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.author'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Author'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$object
->
getCommitData
()->
getCommitDetail
(
'authorPHID'
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID_NULLABLE
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorPeopleDatasource
();
}
}
Event Timeline
Log In to Comment