Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98417176
DiffusionPreCommitContentDiffEnormousHeraldField.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, Jan 13, 00:31
Size
568 B
Mime Type
text/x-php
Expires
Wed, Jan 15, 00:31 (2 d)
Engine
blob
Format
Raw Data
Handle
23576289
Attached To
rPH Phabricator
DiffusionPreCommitContentDiffEnormousHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentDiffEnormousHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.content.diff.enormous'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Diff is enormous'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
isDiffEnormous
();
}
protected
function
getHeraldFieldStandardConditions
()
{
return
HeraldField
::
STANDARD_BOOL
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_NONE
;
}
}
Event Timeline
Log In to Comment