Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91449680
DiffusionPreCommitContentAuthorHeraldField.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
Mon, Nov 11, 05:54
Size
530 B
Mime Type
text/x-php
Expires
Wed, Nov 13, 05:54 (2 d)
Engine
blob
Format
Raw Data
Handle
22262637
Attached To
rPH Phabricator
DiffusionPreCommitContentAuthorHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentAuthorHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.commit.author'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Author'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getAuthorPHID
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID_NULLABLE
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorPeopleDatasource
();
}
}
Event Timeline
Log In to Comment