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


PHP ExceptionHandler::PushException方法代码示例

本文整理汇总了PHP中ExceptionHandler::PushException方法的典型用法代码示例。如果您正苦于以下问题:PHP ExceptionHandler::PushException方法的具体用法?PHP ExceptionHandler::PushException怎么用?PHP ExceptionHandler::PushException使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ExceptionHandler的用法示例。


在下文中一共展示了ExceptionHandler::PushException方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: DatesAreValid

 function DatesAreValid()
 {
     $dt = PdoDataAccess::runquery("select * from ATN_PersonShifts\r\n\t\t\twhere PersonID=:p \r\n\t\t\tAND ( :f between FromDate AND ToDate OR :t between FromDate AND ToDate ) AND RowID <> :r", array(":p" => $this->PersonID, ":r" => $this->RowID, ":f" => DateModules::shamsi_to_miladi($this->FromDate, "-"), ":t" => DateModules::shamsi_to_miladi($this->ToDate, "-")));
     if (count($dt) > 0) {
         ExceptionHandler::PushException("شیفت انتخاب شده دارای تداخل زمانی میباشد");
         return false;
     }
     /*$ShiftObj = new ATN_shifts($this->ShiftID);
     		
     		$dt = PdoDataAccess::runquery("select * from ATN_PersonShifts join ATN_shifts using(ShiftID)
     			where PersonID=:p 
     			AND ( (:s between FromTime AND ToTime) OR (:e between FromTime AND ToTime) ) AND RowID <> :r 
     			AND ( (:f between FromDate AND if(ToDate='0000-00-00','4000-00-00',ToDate) ) 
     				OR (:t between FromDate AND if(ToDate='0000-00-00','4000-00-00',ToDate) ) )", 
     			array(":p" => $this->PersonID, ":s" => $ShiftObj->FromTime, 
     				  ":e" => $ShiftObj->ToTime, ":r" => $this->RowID,
     				  ":f" => DateModules::shamsi_to_miladi($this->FromDate), 
     				  ":t" => DateModules::shamsi_to_miladi($this->ToDate)));
     
     		if(count($dt) > 0)
     		{
     			ExceptionHandler::PushException("شیفت های این فرد با یکدیگر دارای تداخل ساعتی می باشند");;
     			return false;
     		}		*/
     return true;
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:26,代码来源:shift.class.php

示例2: release_post

 function release_post()
 {
     $temp = parent::runquery("SELECT s.staff_id, s.post_id\r\n    \t\tFROM position p INNER JOIN staff s ON(s.staff_id = p.staff_id)\r\n    \t\tWHERE p.post_id = ? AND s.staff_id=?", array($this->post_id, $this->staff_id));
     if (count($temp) == 0) {
         return true;
     }
     if ($temp[0]["post_id"] == $this->post_id) {
         ExceptionHandler::PushException(CANNT_RELEASE_WRIT_POST);
         return false;
     }
     parent::runquery("update position set staff_id=null where post_id=" . $this->post_id);
     $daObj = new DataAudit();
     $daObj->ActionType = DataAudit::Action_update;
     $daObj->RelatedPersonType = DataAudit::PersonType_staff;
     $daObj->RelatedPersonID = $this->staff_id;
     $daObj->MainObjectID = $this->post_id;
     $daObj->TableName = "position";
     $daObj->description = "آزاد کردن پست اجرایی هیئت علمی";
     $daObj->execute();
     //------------------ baseinfo update ---------------------------
     $staffObj = new manage_staff("", "", $this->staff_id);
     require_once inc_manage_post;
     manage_posts::baseinfoRelease($staffObj->PersonID, $this->post_id, "آزاد کردن پست اجرایی هیئت علمی");
     //--------------------------------------------------------------
     return true;
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:26,代码来源:exe_posts.class.php

示例3: Remove

 public function Remove()
 {
     if (!DMS_documents::DeleteAllDocument($this->ContractID, "contract")) {
         ExceptionHandler::PushException("خطا در حذف مدارک");
         return false;
     }
     return parent::Remove();
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:8,代码来源:contract.class.php

示例4: Add

 function Add($pdo = null)
 {
     $dt = self::Get(" AND ChequeNo=? AND ChequeDate=?", array($this->ChequeNo, DateModules::shamsi_to_miladi($this->ChequeDate)));
     if ($dt->rowCount() > 0) {
         ExceptionHandler::PushException("چک دیگری با این شماره و تاریخ قبلا ثبت شده است");
         return false;
     }
     return parent::Add($pdo);
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:9,代码来源:cheque.class.php

示例5: Remove

 public function Remove($pdo = null)
 {
     $dt = parent::runquery("select * from BSC_persons where PostID=?", array($this->PostID), $pdo);
     if (count($dt) > 0) {
         ExceptionHandler::PushException("این پست به فردی نسبت داده شده است و قابل حذف نمی باشد");
         return false;
     }
     $this->IsActive = "NO";
     return $this->Edit($pdo);
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:10,代码来源:baseInfo.class.php

示例6: DeleteDocument

 static function DeleteDocument($DocumentID)
 {
     if (!DMS_DocFiles::DeletePage("", $DocumentID)) {
         ExceptionHandler::PushException("خطا در حذف صفحات پیوست");
         return false;
     }
     if (!PdoDataAccess::delete("DMS_DocParamValues", "DocumentID=?", array($DocumentID))) {
         ExceptionHandler::PushException("خطا در حذف پارامترهای پیوست");
         return false;
     }
     if (parent::delete("DMS_documents", " DocumentID=?", array($DocumentID)) === false) {
         return false;
     }
     $daObj = new DataAudit();
     $daObj->ActionType = DataAudit::Action_delete;
     $daObj->MainObjectID = $DocumentID;
     $daObj->TableName = "DMS_documents";
     $daObj->execute();
     return true;
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:20,代码来源:dms.class.php

示例7: DeletePlan

 static function DeletePlan($PlanID)
 {
     $obj = new PLN_plans($PlanID);
     if ($obj->StepID != STEPID_RAW) {
         return false;
     }
     if (!DMS_documents::DeleteAllDocument($obj->PlanID, "plan")) {
         ExceptionHandler::PushException("خطا در حذف مدارک");
         return false;
     }
     if (parent::delete("PLN_PlanItems", " PlanID=?", array($PlanID)) === false) {
         return false;
     }
     if (parent::delete("PLN_plans", " PlanID=?", array($PlanID)) === false) {
         return false;
     }
     $daObj = new DataAudit();
     $daObj->ActionType = DataAudit::Action_delete;
     $daObj->MainObjectID = $PlanID;
     $daObj->TableName = "PLN_plans";
     $daObj->execute();
     return true;
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:23,代码来源:plan.class.php

示例8: RemoveFlowStep

 static function RemoveFlowStep($StepRowID)
 {
     $info = PdoDataAccess::runquery("select * from WFM_FlowSteps where StepRowID=?", array($StepRowID));
     $dt = parent::runquery("select * from WFM_FlowRows\n\t\t\tjoin ( select max(RowID) RowID,FlowID,ObjectID \n\t\t\t\t\tfrom WFM_FlowRows group by FlowID,ObjectID )t\n\t\t\tusing(RowID,FlowID,ObjectID)\n\t\t\twhere FlowID=? AND StepRowID=?", array($info[0]["FlowID"], $StepRowID));
     if (count($dt) > 0) {
         ExceptionHandler::PushException("FlowRowExists");
         return false;
     }
     parent::runquery("update WFM_FlowSteps set IsActive='NO', StepID=-1 where StepRowID=?", array($StepRowID));
     PdoDataAccess::runquery("update WFM_FlowSteps set StepID=StepID-1 \n\t\t\twhere IsOuter='NO' AND StepID>? AND FlowID=?", array($info[0]["StepID"], $info[0]["FlowID"]));
     $daObj = new DataAudit();
     $daObj->ActionType = DataAudit::Action_delete;
     $daObj->MainObjectID = $StepRowID;
     $daObj->SubObjectID = $info[0]["StepID"];
     $daObj->TableName = "WFM_FlowSteps";
     $daObj->execute();
     return true;
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:18,代码来源:wfm.class.php

示例9: AccountNoValidity

 public function AccountNoValidity()
 {
     $dt = parent::runquery("select * from ACC_accounts where AccountNo=? AND AccountID<>?", array($this->AccountNo, $this->AccountID));
     if (count($dt) > 0) {
         ExceptionHandler::PushException("کد حساب تکراری است");
         return false;
     }
     return true;
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:9,代码来源:baseinfo.class.php

示例10: EditPerson

 function EditPerson()
 {
     if ($this->UserName != "") {
         $dt = PdoDataAccess::runquery("select * \r\n\t\t\t\tfrom BSC_persons where PersonID<>? AND UserName=?", array($this->PersonID, $this->UserName));
         if (count($dt) > 0) {
             ExceptionHandler::PushException("شناسه وارد شده تکراری است");
             return false;
         }
     }
     if (parent::update("BSC_persons", $this, " PersonID=:l", array(":l" => $this->PersonID)) === false) {
         return false;
     }
     $daObj = new DataAudit();
     $daObj->ActionType = DataAudit::Action_update;
     $daObj->MainObjectID = $this->PersonID;
     $daObj->TableName = "BSC_persons";
     $daObj->execute();
     $dt = PdoDataAccess::runquery("select * from ACC_tafsilis where ObjectID=? AND TafsiliType=1", array($this->PersonID));
     require_once getenv("DOCUMENT_ROOT") . '/accounting/baseinfo/baseinfo.class.php';
     if (count($dt) == 0) {
         $obj = new ACC_tafsilis();
         $obj->ObjectID = $this->PersonID;
         $obj->TafsiliCode = $this->PersonID;
         $obj->TafsiliDesc = $this->IsReal == "YES" ? $this->fname . " " . $this->lname : $this->CompanyName;
         $obj->TafsiliType = "1";
         $obj->AddTafsili();
     } else {
         $obj = new ACC_tafsilis($dt[0]["TafsiliID"]);
         $obj->TafsiliCode = $this->PersonID;
         $obj->TafsiliDesc = $this->IsReal == "YES" ? $this->fname . " " . $this->lname : $this->CompanyName;
         $obj->EditTafsili();
     }
     return true;
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:34,代码来源:persons.class.php

示例11:

$readOnly = false;
$state = manage_writ::get_writ_state($_REQUEST["WID"], $writver, $_REQUEST["STID"]);
$pay_calc = manage_writ::check_for_use_in_pay_calc($_REQUEST["WID"], $writver, $_REQUEST["STID"]);
if ($pay_calc == null) {
    if ($state == WRIT_PERSONAL && ($objWrt->check_corrective_state() == 'NOT_CORRECTING' || $objWrt->writ_has_new_version())) {
        ExceptionHandler::PushException('اين حکم در صدور حکم اصلاحي استفاده شده است و امکان تغيير آن وجود ندارد', ExceptionHandler::ExceptionType_warning);
        $readOnly = true;
    } else {
        if ($state != WRIT_PERSONAL) {
            ExceptionHandler::PushException("این حکم منتقل شده است و امکان ویرایش آن وجود ندارد", ExceptionHandler::ExceptionType_warning);
            $readOnly = true;
        }
    }
} else {
    if ($pay_calc != null && $state != WRIT_PERSONAL) {
        ExceptionHandler::PushException(" این حکم در محاسبه حقوق" . "&nbsp;" . $pay_calc . "&nbsp;" . "استفاده شده است و امکان ویرایش آن وجود ندارد.", ExceptionHandler::ExceptionType_warning);
        $readOnly = true;
    }
}
//...................................
$is_auto_writ = manage_writ::is_auto_writ($exedate, $objWrt->person_type, $writ_id, $writver, $staff_id);
if (manage_writ::is_first_writ($writ_id, $writver, $staff_id)) {
    $is_new_writ = false;
    $header_is_open = false;
    $is_auto_writ = true;
}
$is_new_writ = manage_writ::is_new_writ($exedate, $objPerson->person_type, $writ_id, $writver, $staff_id);
$header_is_open = $is_new_writ ? "false" : "true";
if (manage_writ::check_for_use_in_pay_calc($writ_id, $writver, $staff_id) == null) {
    $salary_fields_is_open = true;
}
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:writ_form_1.php

示例12: Add

 function Add($pdo = null)
 {
     if (!self::BlockTrigger($pdo)) {
         return false;
     }
     if ($this->CostID == COSTID_share) {
         $amount = $this->CreditorAmount > 0 ? $this->CreditorAmount : $this->DebtorAmount;
         if ($amount * 1 % ShareBaseAmount != 0) {
             ExceptionHandler::PushException("مبلغ سرفصل حساب سهام باید مضربی از " . ShareBaseAmount . " باشد");
             return false;
         }
     }
     if (!parent::insert("ACC_DocItems", $this, $pdo)) {
         return false;
     }
     $this->ItemID = parent::InsertID($pdo);
     $daObj = new DataAudit();
     $daObj->ActionType = DataAudit::Action_add;
     $daObj->MainObjectID = $this->ItemID;
     $daObj->TableName = "ACC_DocItems";
     $daObj->execute($pdo);
     return true;
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:23,代码来源:doc.class.php

示例13: Remove

 public function Remove($pdo = null)
 {
     if (!parent::delete(static::TableName, static::TableKey . "=:id", array(":id" => $this->{static::TableKey}), $pdo)) {
         ExceptionHandler::PushException(self::ERR_Remove);
         return false;
     }
     $daObj = new DataAudit();
     $daObj->ActionType = DataAudit::Action_delete;
     $daObj->MainObjectID = $this->{static::TableKey};
     $daObj->TableName = static::TableName;
     $daObj->execute();
     return true;
 }
开发者ID:jafarkhani,项目名称:rtfund,代码行数:13,代码来源:PDODataAccess.class.php

示例14: EndWarrantyDoc

function EndWarrantyDoc($ReqObj, $pdo)
{
    /*@var $ReqObj WAR_requests */
    //------------- get CostCodes --------------------
    $CostCode_warrenty = FindCostID("300");
    $CostCode_warrenty_commitment = FindCostID("700");
    $CostCode_wage = FindCostID("750-07");
    $CostCode_FutureWage = FindCostID("760-07");
    $CostCode_fund = FindCostID("100");
    $CostCode_seporde = FindCostID("690");
    $CostCode_pasandaz = FindCostID("209-10");
    $CostCode_guaranteeAmount_zemanati = FindCostID("904-02");
    $CostCode_guaranteeAmount_daryafti = FindCostID("904-04");
    $CostCode_guaranteeAmount2_zemanati = FindCostID("905-02");
    $CostCode_guaranteeAmount2_daryafti = FindCostID("905-04");
    //------------------------------------------------
    $CycleID = substr(DateModules::miladi_to_shamsi($ReqObj->StartDate), 0, 4);
    //------------------ find tafsilis ---------------
    $PersonTafsili = FindTafsiliID($ReqObj->PersonID, TAFTYPE_PERSONS);
    if (!$PersonTafsili) {
        ExceptionHandler::PushException("تفصیلی مربوطه یافت نشد.[" . $ReqObj->PersonID . "]");
        return false;
    }
    //---------------- add doc header --------------------
    $DocObj = new ACC_docs();
    $DocObj->RegDate = PDONOW;
    $DocObj->regPersonID = $_SESSION['USER']["PersonID"];
    $DocObj->DocDate = PDONOW;
    $DocObj->CycleID = $CycleID;
    $DocObj->BranchID = $ReqObj->BranchID;
    $DocObj->DocType = DOCTYPE_WARRENTY_END;
    $DocObj->description = "خاتمه ضمانت نامه " . $ReqObj->_TypeDesc . " به شماره " . $ReqObj->RequestID . " به نام " . $ReqObj->_fullname;
    if (!$DocObj->Add($pdo)) {
        ExceptionHandler::PushException("خطا در ایجاد سند");
        return false;
    }
    //----------------- add Doc items ------------------------
    $itemObj = new ACC_DocItems();
    $itemObj->DocID = $DocObj->DocID;
    $itemObj->TafsiliType = TAFTYPE_PERSONS;
    $itemObj->TafsiliID = $PersonTafsili;
    $itemObj->SourceType = DOCTYPE_WARRENTY_END;
    $itemObj->SourceID = $ReqObj->RequestID;
    $itemObj->SourceID2 = $ReqObj->ReqVersion;
    $itemObj->locked = "YES";
    $itemObj->CostID = $CostCode_warrenty;
    $itemObj->CreditorAmount = $ReqObj->amount;
    $itemObj->DebtorAmount = 0;
    if (!$itemObj->Add($pdo)) {
        ExceptionHandler::PushException("خطا در ثبت ردیف ضمانت نامه");
        return false;
    }
    unset($itemObj->ItemID);
    $itemObj->CostID = $CostCode_warrenty_commitment;
    $itemObj->CreditorAmount = 0;
    $itemObj->DebtorAmount = $ReqObj->amount;
    if (!$itemObj->Add($pdo)) {
        ExceptionHandler::PushException("خطا در ثبت ردیف تعهد ضمانت نامه");
        return false;
    }
    //---------------------------- block Cost ----------------------------
    if ($ReqObj->IsBlock == "YES") {
        $dt = PdoDataAccess::runquery("select * from ACC_blocks where SourceType=? AND SourceID=?", array(DOCTYPE_WARRENTY, $ReqObj->RequestID));
        if (count($dt) > 0) {
            $blockObj = new ACC_CostBlocks($dt[0]["BlockID"]);
            $blockObj->IsActive = "NO";
            $blockObj->Edit($pdo);
        }
    }
    //---------- ردیف های تضمین  ----------
    $SumAmount = 0;
    $countAmount = 0;
    $dt = PdoDataAccess::runquery("\r\n\t\tSELECT DocumentID, ParamValue, InfoDesc as DocTypeDesc\r\n\t\t\tFROM DMS_DocParamValues\r\n\t\t\tjoin DMS_DocParams using(ParamID)\r\n\t\t\tjoin DMS_documents d using(DocumentID)\r\n\t\t\tjoin BaseInfo b on(InfoID=d.DocType AND TypeID=8)\r\n\t\t\tleft join ACC_DocItems on(SourceType=" . DOCTYPE_DOCUMENT . " AND SourceID=DocumentID)\r\n\t\twhere ItemID is null AND b.param1=1 AND \r\n\t\t\tparamType='currencyfield' AND ObjectType='warrenty' AND ObjectID=?", array($ReqObj->RequestID), $pdo);
    foreach ($dt as $row) {
        unset($itemObj->ItemID);
        $itemObj->CostID = $CostCode_guaranteeAmount_zemanati;
        $itemObj->DebtorAmount = 0;
        $itemObj->CreditorAmount = $row["ParamValue"];
        $itemObj->TafsiliType = TAFTYPE_PERSONS;
        $itemObj->TafsiliID = $PersonTafsili;
        $itemObj->SourceType = DOCTYPE_DOCUMENT;
        $itemObj->SourceID = $row["DocumentID"];
        $itemObj->details = $row["DocTypeDesc"];
        $itemObj->Add($pdo);
        $SumAmount += $row["ParamValue"] * 1;
        $countAmount++;
    }
    if ($SumAmount > 0) {
        unset($itemObj->ItemID);
        unset($itemObj->TafsiliType);
        unset($itemObj->TafsiliID);
        unset($itemObj->details);
        $itemObj->CostID = $CostCode_guaranteeAmount2_zemanati;
        $itemObj->DebtorAmount = $SumAmount;
        $itemObj->CreditorAmount = 0;
        $itemObj->Add($pdo);
    }
    if (ExceptionHandler::GetExceptionCount() > 0) {
        return false;
    }
//.........这里部分代码省略.........
开发者ID:jafarkhani,项目名称:rtfund,代码行数:101,代码来源:import.data.php

示例15: SaveOperation

function SaveOperation()
{
    $obj = new NTC_operations();
    PdoDataAccess::FillObjectByArray($obj, $_POST);
    $obj->GroupLetter = isset($_POST["GroupLetter"]) ? "YES" : "NO";
    $pdo = PdoDataAccess::getPdoObject();
    $pdo->beginTransaction();
    if (empty($obj->OperationID)) {
        $obj->OperationDate = PDONOW;
        $result = $obj->Add($pdo);
    } else {
        $result = $obj->Edit($pdo);
    }
    require_once "phpExcelReader.php";
    $data = new Spreadsheet_Excel_Reader();
    $data->setOutputEncoding('utf-8');
    $data->setRowColOffset(0);
    $data->read($_FILES["PersonFile"]["tmp_name"]);
    for ($i = 0; $i < $data->sheets[0]['numRows']; $i++) {
        if (!empty($data->sheets[0]['cells'][$i][0])) {
            $PersonID = $data->sheets[0]['cells'][$i][0];
            $dt = PdoDataAccess::runquery("select PersonID from BSC_persons where PersonID=?", array($PersonID));
            if (count($dt) > 0) {
                $PersonObj = new NTC_persons();
                $PersonObj->OperationID = $obj->OperationID;
                $PersonObj->PersonID = $PersonID;
                for ($j = 1; $j < count($data->sheets[0]['cells'][$i]); $j++) {
                    eval("\$PersonObj->col{$j} = '" . $data->sheets[0]['cells'][$i][$j] . "';");
                }
                $PersonObj->Add($pdo);
            }
        }
    }
    $dt = NTC_persons::Get(" AND OperationID=?", array($obj->OperationID), $pdo);
    if ($dt->rowCount() == 0) {
        $pdo->rollBack();
        echo Response::createObjectiveResponse(false, "در فایل ارسالی هیچ فرد معتبری یافت نشد");
        die;
    }
    $dt = $dt->fetchAll();
    //----------- create letter -------------
    if ($obj->SendType == "LETTER" && $obj->GroupLetter == "YES") {
        $LetterObj = new OFC_letters();
        $LetterObj->LetterType = "INNER";
        $LetterObj->LetterTitle = $obj->title;
        $LetterObj->LetterDate = PDONOW;
        $LetterObj->RegDate = PDONOW;
        $LetterObj->PersonID = $_SESSION["USER"]["PersonID"];
        $LetterObj->context = $obj->context;
        if (!$LetterObj->AddLetter($pdo)) {
            ExceptionHandler::PushException("خطا در ثبت  نامه");
        }
    }
    //---------------------------------------
    foreach ($dt as $row) {
        $context = $obj->context;
        for ($i = 1; $i < 10; $i++) {
            $context = preg_replace("/\\[col" . $i . "\\]/", $row["col" . $i], $context);
        }
        switch ($obj->SendType) {
            case "SMS":
                break;
                //------------------------------------------------------------------
            //------------------------------------------------------------------
            case "EMAIL":
                $email = $row["email"];
                if ($email == "") {
                    ExceptionHandler::PushException("فاقد ایمیل");
                    continue;
                }
                $result = SendEmail($email, $obj->title, $context);
                if (!$result) {
                    ExceptionHandler::PushException("خطا در ارسال ایمیل");
                }
                break;
                //------------------------------------------------------------------
            //------------------------------------------------------------------
            case "LETTER":
                if ($obj->GroupLetter == "NO") {
                    $LetterObj = new OFC_letters();
                    $LetterObj->LetterType = "INNER";
                    $LetterObj->LetterTitle = $obj->title;
                    $LetterObj->LetterDate = PDONOW;
                    $LetterObj->RegDate = PDONOW;
                    $LetterObj->PersonID = $_SESSION["USER"]["PersonID"];
                    $LetterObj->context = $context;
                    $LetterObj->AddLetter($pdo);
                    $SendObj = new OFC_send();
                    $SendObj->LetterID = $LetterObj->LetterID;
                    $SendObj->FromPersonID = $LetterObj->PersonID;
                    $SendObj->ToPersonID = $row["PersonID"];
                    $SendObj->SendDate = PDONOW;
                    $SendObj->SendType = 1;
                    if (!$SendObj->AddSend($pdo)) {
                        ExceptionHandler::PushException("خطا در ثبت  نامه");
                    }
                } else {
                    $Cobj = new OFC_LetterCustomers();
                    $Cobj->LetterID = $LetterObj->LetterID;
                    $Cobj->PersonID = $row["PersonID"];
//.........这里部分代码省略.........
开发者ID:jafarkhani,项目名称:rtfund,代码行数:101,代码来源:operation.data.php


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