Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5988235
EchoEmailUserPresentationModel.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
531 B
Referenced Files
None
Subscribers
None
EchoEmailUserPresentationModel.php
View Options
<?php
namespace
MediaWiki\Extension\Notifications\Formatters
;
class
EchoEmailUserPresentationModel
extends
EchoEventPresentationModel
{
public
function
getIconType
()
{
return
'emailuser'
;
}
public
function
getPrimaryLink
()
{
return
false
;
}
public
function
getSecondaryLinks
()
{
return
[
$this
->
getAgentLink
()
];
}
public
function
getBodyMessage
()
{
$preview
=
$this
->
event
->
getExtraParam
(
'preview'
);
return
$preview
?
$this
->
msg
(
'notification-body-emailuser'
)->
plaintextParams
(
$preview
)
:
false
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Oct 4, 00:44 (3 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4c/7d/0400a68d2dcd00cc959ffd784a21
Default Alt Text
EchoEmailUserPresentationModel.php (531 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment