Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108694650
DifferentialRevisionContentHeraldField.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, Apr 18, 01:32
Size
560 B
Mime Type
text/x-php
Expires
Sun, Apr 20, 01:32 (2 d)
Engine
blob
Format
Raw Data
Handle
25632065
Attached To
rPH Phabricator
DifferentialRevisionContentHeraldField.php
View Options
<?php
final
class
DifferentialRevisionContentHeraldField
extends
DifferentialRevisionHeraldField
{
const
FIELDCONST
=
'differential.revision.diff.content'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Changed file content'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
loadContentDictionary
();
}
protected
function
getHeraldFieldStandardConditions
()
{
return
self
::
STANDARD_TEXT_MAP
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_TEXT
;
}
}
Event Timeline
Log In to Comment