Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106097977
DiffusionPreCommitContentPusherHeraldField.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
Sat, Mar 22, 09:24
Size
568 B
Mime Type
text/x-php
Expires
Mon, Mar 24, 09:24 (2 d)
Engine
blob
Format
Raw Data
Handle
25101766
Attached To
rPH Phabricator
DiffusionPreCommitContentPusherHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentPusherHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.content.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