Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112541138
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
Sun, May 11, 06:51
Size
545 B
Mime Type
text/x-php
Expires
Tue, May 13, 06:51 (2 d)
Engine
blob
Format
Raw Data
Handle
26082667
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