Exemplo n.º 1
0
 /**
  * Form fields required for this email for Special:SendEmail. See
  * EmailController::getEmailSpecificFormFields for more info.
  * @return array
  */
 protected static function getEmailSpecificFormFields()
 {
     return EmailController::getEmailSpecificFormFields();
 }
 protected function getFooterMessages()
 {
     $footerMessages = [$this->getMessage('emailext-unfollow-text', $this->categoryPage->getFullURL('action=unwatch'), $this->categoryPage->getPrefixedText())->parse()];
     return array_merge($footerMessages, parent::getFooterMessages());
 }
Exemplo n.º 3
0
 protected function getFooterMessages()
 {
     $parentUrl = $this->pageTitle->getFullURL('action=unwatch');
     $parentTitleText = $this->pageTitle->getPrefixedText();
     $footerMessages = [$this->getMessage('emailext-unfollow-text', $parentUrl, $parentTitleText)->parse()];
     return array_merge($footerMessages, parent::getFooterMessages());
 }
 protected function getFooterMessages()
 {
     $parentUrl = $this->pageTitle->getFullURL('action=unwatch');
     $authorName = $this->getCurrentUserName();
     $footerMessages = [$this->getMessage('emailext-blogpost-unfollow-text', $parentUrl, $authorName)->parse()];
     return array_merge($footerMessages, parent::getFooterMessages());
 }
Exemplo n.º 5
0
 public function assertValidFromAddress($email)
 {
     return parent::assertValidFromAddress($email);
 }
 protected function getFooterMessages()
 {
     $footerMessages = [$this->getMessage('emailext-unfollow-text', $this->title->getCanonicalUrl('action=unwatch'), $this->title->getPrefixedText())->parse()];
     return array_merge($footerMessages, parent::getFooterMessages());
 }
Exemplo n.º 7
0
 protected function getFooterMessages()
 {
     $unfollowUrl = $this->thread->getFullURL(['action' => 'unwatch']);
     $footerMessages = [$this->getMessage('emailext-forumreply-unfollow-text', $unfollowUrl, $this->threadUrl)->parse()];
     return array_merge($footerMessages, EmailController::getFooterMessages());
 }