Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F647453
PhabricatorProjectAddHeraldAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
666 B
Referenced Files
None
Subscribers
None
PhabricatorProjectAddHeraldAction.php
View Options
<?php
final
class
PhabricatorProjectAddHeraldAction
extends
PhabricatorProjectHeraldAction
{
const
ACTIONCONST
=
'projects.add'
;
public
function
getHeraldActionName
()
{
return
pht
(
'Add projects'
);
}
public
function
applyEffect
(
$object
,
HeraldEffect
$effect
)
{
return
$this
->
applyProjects
(
$effect
->
getTarget
(),
$is_add
=
true
);
}
public
function
getHeraldActionStandardType
()
{
return
self
::
STANDARD_PHID_LIST
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorProjectDatasource
();
}
public
function
renderActionDescription
(
$value
)
{
return
pht
(
'Add projects: %s.'
,
$this
->
renderHandleList
(
$value
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, May 14, 6:54 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
98463
Default Alt Text
PhabricatorProjectAddHeraldAction.php (666 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment