Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93584086
DifferentialDiffContentAddedHeraldField.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
Fri, Nov 29, 22:41
Size
548 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 22:41 (2 d)
Engine
blob
Format
Raw Data
Handle
22667384
Attached To
rPH Phabricator
DifferentialDiffContentAddedHeraldField.php
View Options
<?php
final
class
DifferentialDiffContentAddedHeraldField
extends
DifferentialDiffHeraldField
{
const
FIELDCONST
=
'differential.diff.new'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Added file content'
);
}
public
function
getFieldGroupKey
()
{
return
DifferentialChangeHeraldFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
loadAddedContentDictionary
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT_MAP
;
}
}
Event Timeline
Log In to Comment