哪吒机器人提醒:

提醒:symfony framework forum RDF feed
【标题】Re: Impossible to write a simple : setIsActivated() function
【摘要】i'm sorry, i didn't past the good code : here it goes (with the right syntax for if )public function setisactivated($value) { if ($value == false) { sfcontext::getinstance()->getconfiguration()->loadhelpers('partial'); $email = $this->getsfguarduser()->getprofile()->getemail(); $message = sfcontext::getinstance()->getmailer()->compose( 'no-reply@site.com', $email, 'your offer has been published / votre offre ?? ??t?? publi??e', get_partial('newsletter/activation_offre') ... (04-11 07:18)