Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100929601
DiffusionPreCommitContentMessageHeraldField.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
Tue, Feb 4, 01:22
Size
559 B
Mime Type
text/x-php
Expires
Thu, Feb 6, 01:22 (2 d)
Engine
blob
Format
Raw Data
Handle
24058090
Attached To
rPH Phabricator
DiffusionPreCommitContentMessageHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentMessageHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.commit.message'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Commit message'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getCommitRef
()->
getMessage
();
}
protected
function
getHeraldFieldStandardConditions
()
{
return
self
::
STANDARD_TEXT
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_TEXT
;
}
}
Event Timeline
Log In to Comment