Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97513640
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
Sat, Jan 4, 19:30
Size
442 B
Mime Type
text/x-php
Expires
Mon, Jan 6, 19:30 (2 d)
Engine
blob
Format
Raw Data
Handle
23419757
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
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
loadAddedContentDictionary
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT_MAP
;
}
}
Event Timeline
Log In to Comment