/** * Constructor */ public function __construct() { parent::__construct(); }
/** * * @param unknown $locale * @return \Sdz\BlogBundle\Entity\Ecole */ public function setLocale($locale) { // Set locale foreach ($this->getSousTaches() as $sousTache) { $sousTache->setLocale($locale); } return parent::setLocale($locale); }
/** * Constructor */ public function __construt() { parent::__construt(); $this->parts = new \Doctrine\Common\Collections\ArrayCollection(); }
/** * Constructor. */ public function __construct() { parent::_construct(); $this->technos = new \Doctrine\Common\Collections\ArrayCollection(); }
/** * * @param unknown $locale * @return \Sdz\BlogBundle\Entity\Ecole */ public function setLocale($locale) { parent::setLocale($locale); if ($this->taches !== null) { foreach ($this->taches as $tache) { $tache->setLocale($locale); if ($tache->getSoustaches() !== null) { foreach ($tache->getSoustaches() as $sousTache) { $sousTache->setLocale($locale); } } } } return $this; }