Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5984623
EchoEmailUserPresentationModel.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
630 B
Referenced Files
None
Subscribers
None
EchoEmailUserPresentationModel.php
View Options
<?php
namespace
MediaWiki\Extension\Notifications\Formatters
;
use
MediaWiki\Language\RawMessage
;
class
EchoEmailUserPresentationModel
extends
EchoEventPresentationModel
{
/** @inheritDoc */
public
function
getIconType
()
{
return
'emailuser'
;
}
/** @inheritDoc */
public
function
getPrimaryLink
()
{
return
false
;
}
/** @inheritDoc */
public
function
getSecondaryLinks
()
{
return
[
$this
->
getAgentLink
()
];
}
/** @inheritDoc */
public
function
getBodyMessage
()
{
$preview
=
$this
->
event
->
getExtraParam
(
'preview'
);
return
$preview
?
(
new
RawMessage
(
'$1'
)
)->
plaintextParams
(
$preview
)
:
false
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 23:26 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
94/bb/40da8566b7fbc523cbae2a2f8af0
Default Alt Text
EchoEmailUserPresentationModel.php (630 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment