Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96657102
DiffusionCommitMergeHeraldField.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
Sun, Dec 29, 13:35
Size
425 B
Mime Type
text/x-php
Expires
Tue, Dec 31, 13:35 (2 d)
Engine
blob
Format
Raw Data
Handle
23208087
Attached To
rPH Phabricator
DiffusionCommitMergeHeraldField.php
View Options
<?php
final
class
DiffusionCommitMergeHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.merge'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Is merge commit'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
loadIsMergeCommit
();
}
protected
function
getHeraldFieldStandardType
()
{
return
HeraldField
::
STANDARD_BOOL
;
}
}
Event Timeline
Log In to Comment