Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106114005
DiffusionPreCommitContentAffectedFilesHeraldField.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, Mar 22, 14:16
Size
563 B
Mime Type
text/x-php
Expires
Mon, Mar 24, 14:16 (2 d)
Engine
blob
Format
Raw Data
Handle
25044616
Attached To
rPH Phabricator
DiffusionPreCommitContentAffectedFilesHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentAffectedFilesHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.commit.affected'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Affected files'
);
}
public
function
getFieldGroupKey
()
{
return
DiffusionChangeHeraldFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getDiffContent
(
'name'
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT_LIST
;
}
}
Event Timeline
Log In to Comment