Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F548228
DiffusionCommitRevisionHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
624 B
Referenced Files
None
Subscribers
None
DiffusionCommitRevisionHeraldField.php
View Options
<?php
final
class
DiffusionCommitRevisionHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.revision'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Differential revision'
);
}
public
function
getFieldGroupKey
()
{
return
HeraldRelatedFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldValue
(
$object
)
{
$revision
=
$this
->
getAdapter
()->
loadDifferentialRevision
();
if
(!
$revision
)
{
return
null
;
}
return
$revision
->
getPHID
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID_BOOL
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:46 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
97698
Default Alt Text
DiffusionCommitRevisionHeraldField.php (624 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment