Ejemplo n.º 1
0
 /**
  * @return void
  */
 public function delete()
 {
     GroupeBusiness::delete($this);
 }
Ejemplo n.º 2
0
 /**
  * Renvoie les Groupes liés à l'objet
  * @return GroupeCollection
  */
 public function getGroupes()
 {
     if (is_null($this->cacheGroupes)) {
         $this->cacheGroupes = GroupeBusiness::getByUtilisateur($this);
         $this->cacheGroupes->store();
     }
     return $this->cacheGroupes;
 }