Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F119435282
DiffusionPreCommitContentBranchesHeraldField.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, Jun 26, 19:15
Size
545 B
Mime Type
text/x-php
Expires
Sat, Jun 28, 19:15 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26995502
Attached To
rPH Phabricator
DiffusionPreCommitContentBranchesHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentBranchesHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.commit.branches'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Branches'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getBranches
();
}
protected
function
getHeraldFieldStandardConditions
()
{
return
self
::
STANDARD_TEXT_LIST
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_TEXT
;
}
}
Event Timeline
Log In to Comment