Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91422551
DiffusionPreCommitContentDiffContentRemovedHeraldField.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, Nov 10, 23:20
Size
570 B
Mime Type
text/x-php
Expires
Tue, Nov 12, 23:20 (2 d)
Engine
blob
Format
Raw Data
Handle
22261056
Attached To
rPH Phabricator
DiffusionPreCommitContentDiffContentRemovedHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentDiffContentRemovedHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.commit.diff.old'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Removed diff content'
);
}
public
function
getFieldGroupKey
()
{
return
DiffusionChangeHeraldFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getDiffContent
(
'-'
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT_MAP
;
}
}
Event Timeline
Log In to Comment