Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105895071
DiffusionPreCommitRefPusherHeraldField.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, 15:34
Size
556 B
Mime Type
text/x-php
Expires
Sat, Mar 22, 15:34 (2 d)
Engine
blob
Format
Raw Data
Handle
25058861
Attached To
rPH Phabricator
DiffusionPreCommitRefPusherHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitRefPusherHeraldField
extends
DiffusionPreCommitRefHeraldField
{
const
FIELDCONST
=
'diffusion.pre.ref.pusher'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Pusher'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getHookEngine
()->
getViewer
()->
getPHID
();
}
protected
function
getHeraldFieldStandardConditions
()
{
return
HeraldField
::
STANDARD_PHID
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_USER
;
}
}
Event Timeline
Log In to Comment