Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112832147
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, May 13, 05:24
Size
545 B
Mime Type
text/x-php
Expires
Thu, May 15, 05:24 (2 d)
Engine
blob
Format
Raw Data
Handle
26133519
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
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
loadDiffContent
(
'+'
);
}
protected
function
getHeraldFieldStandardConditions
()
{
return
self
::
STANDARD_TEXT_MAP
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_TEXT
;
}
}
Event Timeline
Log In to Comment