示例#1
0
文件: Tags.php 项目: SPA33FR/spa33
 /**
  * Delete One Tags IN Database
  * 
  * @param DoctrineManager $em 
  * @param Tags $tag
  * 
  * @return void
  */
 public function deleteOne($em, $tag)
 {
     $em->remove($tag);
     $em->flush();
 }
示例#2
0
 /**
  * Delete One Article IN Database
  * 
  * @param DoctrineManager $em 
  * @param Articles $article
  * 
  * @return void
  */
 public function deleteOne($em, $article)
 {
     $em->remove($article);
     $em->flush();
 }
示例#3
0
文件: Staff.php 项目: SPA33FR/spa33
 /**
  * Delete One Staff IN Database
  * 
  * @param DoctrineManager $em 
  * @param Staff $staff
  * 
  * @return void
  */
 public function deleteOne($em, $staff)
 {
     $em->remove($staff);
     $em->flush();
 }
示例#4
0
文件: Pets.php 项目: SPA33FR/spa33
 /**
  * Delete One Pets IN Database
  * 
  * @param DoctrineManager $em 
  * @param Pets $pet
  * 
  * @return void
  */
 public function deleteOne($em, $pet)
 {
     $em->remove($pet);
     $em->flush();
 }
示例#5
0
文件: Races.php 项目: SPA33FR/spa33
 /**
  * Delete One Races IN Database
  * 
  * @param DoctrineManager $em 
  * @param Races $race
  * 
  * @return void
  */
 public function deleteOne($em, $race)
 {
     $em->remove($race);
     $em->flush();
 }