Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105897609
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
Thu, Mar 20, 16:06
Size
546 B
Mime Type
text/x-php
Expires
Sat, Mar 22, 16:06 (2 d)
Engine
blob
Format
Raw Data
Handle
25068135
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