Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99462380
DiffusionPreCommitRefNameHeraldField.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, 19:04
Size
515 B
Mime Type
text/x-php
Expires
Sun, Jan 26, 19:04 (2 d)
Engine
blob
Format
Raw Data
Handle
23806099
Attached To
rPH Phabricator
DiffusionPreCommitRefNameHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitRefNameHeraldField
extends
DiffusionPreCommitRefHeraldField
{
const
FIELDCONST
=
'diffusion.pre.ref.name'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Ref name'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$object
->
getRefName
();
}
protected
function
getHeraldFieldStandardConditions
()
{
return
HeraldField
::
STANDARD_TEXT
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_TEXT
;
}
}
Event Timeline
Log In to Comment