Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101763614
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
Thu, Feb 13, 11:27
Size
563 B
Mime Type
text/x-php
Expires
Sat, Feb 15, 11:27 (2 d)
Engine
blob
Format
Raw Data
Handle
24161533
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