Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93166700
DiffusionCommitDiffContentAddedHeraldField.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, Nov 26, 17:33
Size
543 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 17:33 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22585183
Attached To
rPH Phabricator
DiffusionCommitDiffContentAddedHeraldField.php
View Options
<?php
final
class
DiffusionCommitDiffContentAddedHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.diff.new'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Diff content added'
);
}
public
function
getFieldGroupKey
()
{
return
DiffusionChangeHeraldFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
loadDiffContent
(
'+'
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT_MAP
;
}
}
Event Timeline
Log In to Comment