Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80276556
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
Fri, Aug 30, 21:28
Size
563 B
Mime Type
text/x-php
Expires
Sun, Sep 1, 21:28 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20332998
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