本文整理汇总了PHP中Attachment::remove方法的典型用法代码示例。如果您正苦于以下问题:PHP Attachment::remove方法的具体用法?PHP Attachment::remove怎么用?PHP Attachment::remove使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Attachment
的用法示例。
在下文中一共展示了Attachment::remove方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: elseif
$res = Impact_Analysis::update($isr_id);
$tpl->assign('set_impact_requirement_result', $res);
} elseif ($cat == 'delete_requirement') {
$res = Impact_Analysis::remove();
$tpl->assign('requirement_delete_result', $res);
} elseif ($cat == 'save_filter') {
$res = Filter::save();
$tpl->assign('save_filter_result', $res);
} elseif ($cat == 'delete_filter') {
$res = Filter::remove();
$tpl->assign('delete_filter_result', $res);
} elseif ($cat == 'remove_support_email') {
$res = Support::removeAssociation();
$tpl->assign('remove_association_result', $res);
} elseif ($cat == 'delete_attachment') {
$res = Attachment::remove($id);
$tpl->assign('remove_attachment_result', $res);
} elseif ($cat == 'delete_file') {
$res = Attachment::removeIndividualFile($id);
$tpl->assign('remove_file_result', $res);
} elseif ($cat == 'remove_checkin') {
$res = SCM::remove($items);
$tpl->assign('remove_checkin_result', $res);
} elseif ($cat == 'unassign') {
$res = Issue::deleteUserAssociation($iss_id, $usr_id);
Workflow::handleAssignmentChange($prj_id, $iss_id, Auth::getUserID(), Issue::getDetails($iss_id), Issue::getAssignedUserIDs($iss_id));
$tpl->assign('unassign_result', $res);
} elseif ($cat == 'remove_email') {
$res = Support::removeEmails();
$tpl->assign('remove_email_result', $res);
} elseif ($cat == 'clear_duplicate') {
示例2: elseif
$res = Impact_Analysis::update($HTTP_POST_VARS["isr_id"]);
$tpl->assign("set_impact_requirement_result", $res);
} elseif (@$HTTP_POST_VARS["cat"] == "delete_requirement") {
$res = Impact_Analysis::remove();
$tpl->assign("requirement_delete_result", $res);
} elseif (@$HTTP_POST_VARS["cat"] == "save_filter") {
$res = Filter::save();
$tpl->assign("save_filter_result", $res);
} elseif (@$HTTP_POST_VARS["cat"] == "delete_filter") {
$res = Filter::remove();
$tpl->assign("delete_filter_result", $res);
} elseif (@$HTTP_POST_VARS["cat"] == "remove_support_email") {
$res = Support::removeAssociation();
$tpl->assign("remove_association_result", $res);
} elseif (@$HTTP_GET_VARS["cat"] == "delete_attachment") {
$res = Attachment::remove($HTTP_GET_VARS["id"]);
$tpl->assign("remove_attachment_result", $res);
} elseif (@$HTTP_GET_VARS["cat"] == "delete_file") {
$res = Attachment::removeIndividualFile($HTTP_GET_VARS["id"]);
$tpl->assign("remove_file_result", $res);
} elseif (@$HTTP_POST_VARS["cat"] == "remove_checkin") {
$res = SCM::remove();
$tpl->assign("remove_checkin_result", $res);
} elseif (@$HTTP_GET_VARS['cat'] == 'unassign') {
$res = Issue::deleteUserAssociation($HTTP_GET_VARS["iss_id"], $usr_id);
Workflow::handleAssignmentChange($prj_id, $HTTP_GET_VARS["iss_id"], Auth::getUserID(), Issue::getDetails($HTTP_GET_VARS["iss_id"]), Issue::getAssignedUserIDs($HTTP_GET_VARS["iss_id"]));
$tpl->assign('unassign_result', $res);
} elseif (@$HTTP_POST_VARS["cat"] == "remove_email") {
$res = Support::removeEmails();
$tpl->assign("remove_email_result", $res);
} elseif (@$HTTP_GET_VARS["cat"] == "clear_duplicate") {