Page MenuHomeWickedGov Phorge

EchoEmailUserPresentationModel.php
No OneTemporary

Size
531 B
Referenced Files
None
Subscribers
None

EchoEmailUserPresentationModel.php

<?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

Mime Type
text/x-php
Expires
Wed, Aug 19, 02:39 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4c/7d/0400a68d2dcd00cc959ffd784a21
Default Alt Text
EchoEmailUserPresentationModel.php (531 B)

Event Timeline