Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104634011
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
Tue, Mar 11, 02:22
Size
509 B
Mime Type
text/x-php
Expires
Thu, Mar 13, 02:22 (1 d, 7 h)
Engine
blob
Format
Raw Data
Handle
24826987
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
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_USER
;
}
}
Event Timeline
Log In to Comment