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()); }
function __construct($inscription) { parent::__construct("Nouvelle inscription : " . $inscription->getFullname()); $this->inscription = $inscription; $this->setFrom($inscription->adelec, $inscription->getFullname()); $this->notifyAdmins(); $this->notifyChefs(); }
function __construct($user) { parent::__construct("Recouvrement de compte"); $this->user = $user; }
function __construct($inscription, $message) { parent::__construct("Inscription refusée"); $this->inscription = $inscription; $this->message = $message; }
function __construct($newuser, $message) { parent::__construct("Inscription validée"); $this->newuser = $newuser; $this->message = $message; }