Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106778987
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
Mon, Mar 31, 12:17
Size
560 B
Mime Type
text/x-php
Expires
Wed, Apr 2, 12:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25272926
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