Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F115257909
DiffusionPreCommitContentAuthorRawHeraldField.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, May 30, 18:09
Size
546 B
Mime Type
text/x-php
Expires
Sun, Jun 1, 18:09 (2 d)
Engine
blob
Format
Raw Data
Handle
26480113
Attached To
rPH Phabricator
DiffusionPreCommitContentAuthorRawHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentAuthorRawHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.commit.author.raw'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Raw Author'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getAuthorRaw
();
}
protected
function
getHeraldFieldStandardConditions
()
{
return
self
::
STANDARD_TEXT
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_TEXT
;
}
}
Event Timeline
Log In to Comment