Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101364646
DiffusionPreCommitContentDiffContentHeraldField.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, Feb 9, 03:16
Size
456 B
Mime Type
text/x-php
Expires
Tue, Feb 11, 03:16 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24145152
Attached To
rPH Phabricator
DiffusionPreCommitContentDiffContentHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentDiffContentHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.commit.diff.content'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Diff content'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getDiffContent
(
'*'
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT_MAP
;
}
}
Event Timeline
Log In to Comment