示例#1
0
 function __construct($article)
 {
     parent::__construct("Nouvel article : " . $article->titre);
     $this->article = $article;
     $auteur = $article->findAuteur();
     $this->setFrom($auteur->adelec, $auteur->getFullname());
     $this->notifyChefsDe($article->findUnite());
 }
示例#2
0
 function __construct($inscription)
 {
     parent::__construct("Nouvelle inscription : " . $inscription->getFullname());
     $this->inscription = $inscription;
     $this->setFrom($inscription->adelec, $inscription->getFullname());
     $this->notifyAdmins();
     $this->notifyChefs();
 }
示例#3
0
 function __construct($user)
 {
     parent::__construct("Recouvrement de compte");
     $this->user = $user;
 }
示例#4
0
 function __construct($inscription, $message)
 {
     parent::__construct("Inscription refusée");
     $this->inscription = $inscription;
     $this->message = $message;
 }
示例#5
0
 function __construct($newuser, $message)
 {
     parent::__construct("Inscription validée");
     $this->newuser = $newuser;
     $this->message = $message;
 }