Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93139318
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
Tue, Nov 26, 12:21
Size
566 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 12:21 (2 d)
Engine
blob
Format
Raw Data
Handle
22581008
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
getFieldGroupKey
()
{
return
DiffusionChangeHeraldFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
isDiffEnormous
();
}
protected
function
getHeraldFieldStandardType
()
{
return
HeraldField
::
STANDARD_BOOL
;
}
}
Event Timeline
Log In to Comment