mediawiki-extensions-Echo/includes/formatters/EditThresholdPresentationModel.php

20 lines
503 B
PHP
Raw Normal View History

<?php
class EchoEditThresholdPresentationModel extends EchoEventPresentationModel {
public function getIconType() {
return 'edit';
}
public function getHeaderMessageKey() {
return 'notification-header-thank-you-' . $this->event->getExtraParam( 'editCount' ) . '-edit';
}
public function getPrimaryLink() {
return array(
'url' => $this->event->getTitle()->getLocalURL(),
'label' => $this->msg( 'notification-link-thank-you-edit', $this->getViewingUserForGender() )->text()
);
}
}