本文整理汇总了PHP中ExceptionHandler::popExceptionDescription方法的典型用法代码示例。如果您正苦于以下问题:PHP ExceptionHandler::popExceptionDescription方法的具体用法?PHP ExceptionHandler::popExceptionDescription怎么用?PHP ExceptionHandler::popExceptionDescription使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ExceptionHandler
的用法示例。
在下文中一共展示了ExceptionHandler::popExceptionDescription方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: DontPayItem
function DontPayItem()
{
$obj = new manage_writ_item();
$return = $obj->DontPayItems($_POST["writ_id"], $_POST["writ_ver"], $_POST["staff_id"]);
echo Response::createObjectiveResponse($return, $return ? $obj->writ_id : ExceptionHandler::popExceptionDescription());
die;
}
示例2: removebank
function removebank()
{
$return = manage_bank::Remove($_POST["bid"]);
Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
die;
}
示例3: calculate
function calculate()
{
$return = manage_writ_item::compute_writ_items($_POST["writ_id"], $_POST["writ_ver"], $_POST["staff_id"]);
if ($return) {
$return = 'true';
} else {
$return = 'false';
}
echo Response::createObjectiveResponse($return, $return ? $_POST["writ_id"] : ExceptionHandler::popExceptionDescription());
die;
}
示例4: DeleteStep
function DeleteStep()
{
$result = WFM_FlowSteps::RemoveFlowStep($_POST["StepRowID"]);
echo Response::createObjectiveResponse($result, ExceptionHandler::popExceptionDescription());
die;
}
示例5: removeSIR
function removeSIR()
{
$return = manage_salary_item_report::Remove($_POST["sid"]);
Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
die;
}
示例6: DelAllPrn
function DelAllPrn()
{
$obj = new manage_evaluation_list_items();
$obj->list_id = $_POST["list_id"];
$return = $obj->Remove("true");
Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
die;
}
示例7: removeSI
function removeSI()
{
$return = manage_subInfo::Remove($_POST["sid"], $_POST["pty"]);
Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
die;
}
示例8: removeBranch
function removeBranch()
{
$return = manage_study_branch::Remove($_POST["sfid"], $_POST["sbid"]);
Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
die;
}
示例9: ProcessArrearPayment
function ProcessArrearPayment()
{
$payArrCalcObj = new manage_arrear_pay_calculation();
$payArrCalcObj->__YEAR = $_POST["pay_year"];
$payArrCalcObj->__MONTH = 12;
$start_date = $_POST["pay_year"] . "/01/01";
$end_date = $_POST["pay_year"] . "/12/" . DateModules::DaysOfMonth($payArrCalcObj->__YEAR, 12);
$payArrCalcObj->__CALC_NORMALIZE_TAX = isset($_POST['tax_normalize']) ? "1" : "0";
$payArrCalcObj->__START_NORMALIZE_TAX_MONTH = 1;
$payArrCalcObj->__START_NORMALIZE_TAX_YEAR = $_POST["pay_year"];
$payArrCalcObj->__BACKPAY_BEGIN_FROM = 1;
$payArrCalcObj->month_start = DateModules::shamsi_to_miladi($start_date);
$payArrCalcObj->month_end = DateModules::shamsi_to_miladi($end_date);
$payArrCalcObj->__MSG = $_POST["message"];
// <editor-fold defaultstate="collapsed" desc="Create Where" >
$where = "1=1";
$whereParam = array();
if (!empty($_POST["person_type"])) {
$where .= " AND p.person_type=:ptype";
$whereParam[":ptype"] = $_POST["person_type"];
}
if (!empty($_POST["from_staff_id"])) {
$where .= " AND s.staff_id >= :fsid";
$whereParam[":fsid"] = $_POST["from_staff_id"];
}
if (!empty($_POST["to_staff_id"])) {
$where .= " AND s.staff_id <= :tsid";
$whereParam[":tsid"] = $_POST["to_staff_id"];
}
if (!empty($_POST["from_cost_center_id"])) {
$where .= " AND w.cost_center_id >= :fccid";
$whereParam[":fccid"] = $_POST["from_cost_center_id"];
}
if (!empty($_POST["to_cost_center_id"])) {
$where .= " AND w.cost_center_id <= :tccid";
$whereParam[":tccid"] = $_POST["to_cost_center_id"];
}
if (!isset($_POST["ouid"])) {
$result = QueryHelper::MK_org_units($_POST["ouid"], true);
$where .= " AND " . $result["where"];
$whereParams = array_merge($whereParam, $result["param"]);
}
// </editor-fold>
$payArrCalcObj->__WHERE = $where;
$payArrCalcObj->__WHEREPARAM = $whereParam;
$res = $payArrCalcObj->run_back();
if (!$res) {
echo Response::createObjectiveResponse(false, ExceptionHandler::popExceptionDescription());
die;
} else {
echo Response::createObjectiveResponse(true, $payArrCalcObj->success_counter . "_" . $payArrCalcObj->fail_counter);
die;
}
}
示例10: deleteMember
function deleteMember()
{
if ($_POST['list_type'] == MISSION_LIST) {
$obj = new manage_mission_list_items();
} else {
$obj = new manage_pay_get_list_items();
}
$obj->list_id = $_POST["list_id"];
$obj->list_row_no = $_POST["rowNo"];
$return = $obj->Remove();
Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
die;
}
示例11: removeCostException
function removeCostException()
{
$return = manage_cost_center_exception::Remove($_POST["sid"], $_POST["pty"], $_POST["cid"]);
Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
die;
}
示例12: removeUni
function removeUni()
{
$return = manage_University::Remove($_POST["uid"], $_POST["cid"]);
Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
die;
}
示例13: make_unsuccess_rows
function make_unsuccess_rows($person_rec)
{
$this->u_count++;
fwrite($this->u_content, "\r\n\t\t\t<tr style='font-family:tahoma;font-size:11px;font-weight:bold;color:#1A58A6;border-bottom:solid 1px #1A58A6;'>\r\n\t <td height=21px>شماره خطا </td>\r\n\t <td>شماره شناسايي :{$person_rec['staff_id']}</td>\r\n\t <td>نام : {$person_rec['pfname']}</td>\r\n\t <td>نام خانوادگي : {$person_rec['plname']}</td>\r\n\t <td>شماره حکم : {$person_rec['writ_id']}</td>\r\n\t </tr>");
$i = 0;
while (ExceptionHandler::GetExceptionCount() != 0) {
$i++;
fwrite($this->u_content, "<tr>\r\n\t\t\t\t\t<td height=21px style='font-family:tahoma;font-size:11px;color:red'>{$i}</td>\r\n\t\t\t\t\t<td colspan='4' style='font-family:tahoma;font-size:12px;color:red'>" . ExceptionHandler::popExceptionDescription() . "</td>\r\n </tr>");
}
}
示例14: DelDep
function DelDep()
{
$return = manage_person_dependency::RemoveDependency($_POST['PersonID'], $_POST['row_no']);
Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
die;
}