Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F546954
DiffusionPreCommitContentDiffContentAddedHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
566 B
Referenced Files
None
Subscribers
None
DiffusionPreCommitContentDiffContentAddedHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentDiffContentAddedHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.commit.diff.new'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Added diff content'
);
}
public
function
getFieldGroupKey
()
{
return
DiffusionChangeHeraldFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getDiffContent
(
'+'
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT_MAP
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:24 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
98844
Default Alt Text
DiffusionPreCommitContentDiffContentAddedHeraldField.php (566 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment