Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F552758
HeraldDoNothingAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
HeraldDoNothingAction.php
View Options
<?php
final
class
HeraldDoNothingAction
extends
HeraldAction
{
const
ACTIONCONST
=
'nothing'
;
const
DO_NOTHING
=
'do.nothing'
;
public
function
getHeraldActionName
()
{
return
pht
(
'Do nothing'
);
}
public
function
getActionGroupKey
()
{
return
HeraldUtilityActionGroup
::
ACTIONGROUPKEY
;
}
public
function
supportsObject
(
$object
)
{
return
true
;
}
public
function
supportsRuleType
(
$rule_type
)
{
return
true
;
}
public
function
applyEffect
(
$object
,
HeraldEffect
$effect
)
{
$this
->
logEffect
(
self
::
DO_NOTHING
);
}
public
function
getHeraldActionStandardType
()
{
return
self
::
STANDARD_NONE
;
}
protected
function
getActionEffectMap
()
{
return
array
(
self
::
DO_NOTHING
=>
array
(
'icon'
=>
'fa-check'
,
'color'
=>
'grey'
,
'name'
=>
pht
(
'Did Nothing'
),
),
);
}
public
function
renderActionDescription
(
$value
)
{
return
pht
(
'Do nothing.'
);
}
protected
function
renderActionEffectDescription
(
$type
,
$data
)
{
return
pht
(
'Did nothing.'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 4:41 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120848
Default Alt Text
HeraldDoNothingAction.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment