Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99473393
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, Jan 24, 21:07
Size
565 B
Mime Type
text/x-php
Expires
Sun, Jan 26, 21:07 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23808721
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
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getDiffContent
(
'name'
);
}
protected
function
getHeraldFieldStandardConditions
()
{
return
self
::
STANDARD_TEXT_LIST
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_TEXT
;
}
}
Event Timeline
Log In to Comment