/**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
 }
Example #2
0
 /**
  *
  * @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);
 }
Example #3
0
 /**
  * Constructor
  */
 public function __construt()
 {
     parent::__construt();
     $this->parts = new \Doctrine\Common\Collections\ArrayCollection();
 }
Example #4
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::_construct();
     $this->technos = new \Doctrine\Common\Collections\ArrayCollection();
 }
Example #5
0
 /**
  *
  * @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;
 }