Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106246579
DiffusionCommitDiffContentRemovedHeraldField.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, Mar 24, 01:10
Size
547 B
Mime Type
text/x-php
Expires
Wed, Mar 26, 01:10 (2 d)
Engine
blob
Format
Raw Data
Handle
25055798
Attached To
rPH Phabricator
DiffusionCommitDiffContentRemovedHeraldField.php
View Options
<?php
final
class
DiffusionCommitDiffContentRemovedHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.diff.old'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Diff content removed'
);
}
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