コード例 #1
0
 function execute()
 {
     $id = Request::post('id');
     connectionFeedbackModel::create()->where(array('id' => (int) $id))->delete();
     connectionFeedbackAnswerModel::create()->where(array('ticket' => (int) $id))->delete();
 }
コード例 #2
0
 function execute()
 {
     connectionFeedbackModel::create()->setStatus((int) Request::post('ticket'), Request::post('status'), false);
 }