コード例 #1
0
 /**
  * Delete relations by $user
  *
  * @param User $user
  * @return boolean
  */
 function deleteByUser($user)
 {
     return ProjectUsers::delete(array('user_id = ?', $user->getId()));
 }