Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F570161
ManiphestTaskAssignSelfHeraldAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
710 B
Referenced Files
None
Subscribers
None
ManiphestTaskAssignSelfHeraldAction.php
View Options
<?php
final
class
ManiphestTaskAssignSelfHeraldAction
extends
ManiphestTaskAssignHeraldAction
{
const
ACTIONCONST
=
'maniphest.assign.self'
;
public
function
getHeraldActionName
()
{
return
pht
(
'Assign task to me'
);
}
public
function
supportsRuleType
(
$rule_type
)
{
return
(
$rule_type
==
HeraldRuleTypeConfig
::
RULE_TYPE_PERSONAL
);
}
public
function
applyEffect
(
$object
,
HeraldEffect
$effect
)
{
$phid
=
$effect
->
getRule
()->
getAuthorPHID
();
return
$this
->
applyAssign
(
array
(
$phid
));
}
public
function
getHeraldActionStandardType
()
{
return
self
::
STANDARD_NONE
;
}
public
function
renderActionDescription
(
$value
)
{
return
pht
(
'Assign task to rule author.'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 3:16 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
98278
Default Alt Text
ManiphestTaskAssignSelfHeraldAction.php (710 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment