Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F116461507
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
Sat, Jun 7, 00:27
Size
561 B
Mime Type
text/x-php
Expires
Mon, Jun 9, 00:27 (2 d)
Engine
blob
Format
Raw Data
Handle
26598899
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
getHeraldFieldStandardConditions
()
{
return
self
::
STANDARD_TEXT_MAP
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_TEXT
;
}
}
Event Timeline
Log In to Comment