当前位置: 首页>>代码示例>>PHP>>正文


PHP ExceptionHandler::popExceptionDescription方法代码示例

本文整理汇总了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;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:7,代码来源:writ_item.data.php

示例2: removebank

function removebank()
{
    $return = manage_bank::Remove($_POST["bid"]);
    Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
    die;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:6,代码来源:banks.data.php

示例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;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:11,代码来源:writ.data.php

示例4: DeleteStep

function DeleteStep()
{
    $result = WFM_FlowSteps::RemoveFlowStep($_POST["StepRowID"]);
    echo Response::createObjectiveResponse($result, ExceptionHandler::popExceptionDescription());
    die;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:6,代码来源:wfm.data.php

示例5: removeSIR

function removeSIR()
{
    $return = manage_salary_item_report::Remove($_POST["sid"]);
    Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
    die;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:6,代码来源:salary_item_report.data.php

示例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;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:8,代码来源:BaseSalary.data.php

示例7: removeSI

function removeSI()
{
    $return = manage_subInfo::Remove($_POST["sid"], $_POST["pty"]);
    Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
    die;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:6,代码来源:subtract_info.data.php

示例8: removeBranch

function removeBranch()
{
    $return = manage_study_branch::Remove($_POST["sfid"], $_POST["sbid"]);
    Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
    die;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:6,代码来源:study_fields.data.php

示例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;
    }
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:54,代码来源:payment.data.php

示例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;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:13,代码来源:pay_get_lists.data.php

示例11: removeCostException

function removeCostException()
{
    $return = manage_cost_center_exception::Remove($_POST["sid"], $_POST["pty"], $_POST["cid"]);
    Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
    die;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:6,代码来源:cost_center_exception.data.php

示例12: removeUni

function removeUni()
{
    $return = manage_University::Remove($_POST["uid"], $_POST["cid"]);
    Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
    die;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:6,代码来源:universities.data.php

示例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>");
     }
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:10,代码来源:group_writ_log.class.php

示例14: DelDep

function DelDep()
{
    $return = manage_person_dependency::RemoveDependency($_POST['PersonID'], $_POST['row_no']);
    Response::createObjectiveResponse($return, !$return ? ExceptionHandler::popExceptionDescription() : "");
    die;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:6,代码来源:dependent.data.php


注:本文中的ExceptionHandler::popExceptionDescription方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。