Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91426381
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
Mon, Nov 11, 00:12
Size
425 B
Mime Type
text/x-php
Expires
Wed, Nov 13, 00:12 (2 d)
Engine
blob
Format
Raw Data
Handle
22261551
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