Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93583290
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
Fri, Nov 29, 22:30
Size
525 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 22:30 (2 d)
Engine
blob
Format
Raw Data
Handle
22670326
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