Пример #1
0
 /**
  * Met à jour les membres de $instance annotés par un ManyToMany
  * @param Object $instance
  */
 public static function insertOrUpdateAllManyToMany($instance)
 {
     $members = Reflexion::getMembersWithAnnotation(get_class($instance), "ManyToMany");
     foreach ($members as $member) {
         DAO::insertOrUpdateManyToMany($instance, $member->name);
     }
 }