Page MenuHomeWickedGov Phorge

EchoEmailUserPresentationModel.php
No OneTemporary

Size
630 B
Referenced Files
None
Subscribers
None

EchoEmailUserPresentationModel.php

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

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)

Event Timeline