Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F547804
DiffusionCommitReviewerHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
644 B
Referenced Files
None
Subscribers
None
DiffusionCommitReviewerHeraldField.php
View Options
<?php
final
class
DiffusionCommitReviewerHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.reviewer'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Reviewer (Deprecated)'
);
}
public
function
getFieldGroupKey
()
{
return
HeraldDeprecatedFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$object
->
getCommitData
()->
getCommitDetail
(
'reviewerPHID'
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID_NULLABLE
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorPeopleDatasource
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:38 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
113220
Default Alt Text
DiffusionCommitReviewerHeraldField.php (644 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment