コード例 #1
0
ファイル: Case.php プロジェクト: prashantgajare/civicrm-core
 /**
  * Delete the activities related to case
  *
  * @param  int $activityId id of the activity
  *
  * @return void
  * @access public
  * @static
  */
 static function deleteCaseActivity($activityId)
 {
     $case = new CRM_Case_DAO_CaseActivity();
     $case->activity_id = $activityId;
     $case->delete();
 }
コード例 #2
0
ファイル: Case.php プロジェクト: hampelm/Ginsberg-CiviDemo
 /**                                                           
  * Delete the activities related to case
  * @param  int  $activityId id of the activity
  * 
  * @return void
  * @access public 
  * @static 
  */
 static function deleteCaseActivity($activityId)
 {
     require_once 'CRM/Case/DAO/CaseActivity.php';
     $case = new CRM_Case_DAO_CaseActivity();
     $case->activity_id = $activityId;
     $case->delete();
 }