コード例 #1
0
    checkRule35();
    checkRule36();
    checkRule37();
    checkRule38();
    checkRule39();
    checkRule40();
    checkRule41();
    checkRule42();
    checkRule43();
    checkRule44();
    checkRule45();
    checkRule46();
    checkRule47();
    checkRule48();
    checkRule49();
    checkRule50();
    checkRule51();
    checkRule52();
    checkRule53();
    checkRule54();
    checkRule55();
    checkRule56();
    checkRule57();
    checkRule58();
    checkRule59();
    checkRule60();
    checkRule61();
    checkRule62();
    checkRule63();
    checkRule64();
}
コード例 #2
0
 function del()
 {
     DB_doquer('START TRANSACTION');
     $me = array("id" => $this->getId(), "case" => $this->_case, "type" => $this->_type, "remark" => $this->_remark, "sent at" => $this->_sentat, "received at" => $this->_receivedat);
     DB_doquer("DELETE FROM `document` WHERE `i`='" . addslashes($me['id']) . "'", 5);
     DB_doquer("DELETE FROM `documenttype` WHERE `i`='" . addslashes($me['type']) . "'", 5);
     DB_doquer("DELETE FROM `timestamp` WHERE `i`='" . addslashes($me['sent at']) . "'", 5);
     DB_doquer("DELETE FROM `timestamp` WHERE `i`='" . addslashes($me['received at']) . "'", 5);
     foreach ($me['remark'] as $i0 => $v0) {
         DB_doquer("DELETE FROM `text` WHERE `i`='" . addslashes($v0) . "'", 5);
     }
     DB_doquer("DELETE FROM `casefile` WHERE `document`='" . addslashes($me['id']) . "'", 5);
     DB_doquer("DELETE FROM `remark` WHERE `document`='" . addslashes($me['id']) . "'", 5);
     if (!checkRule3()) {
         $DB_err = '\\"Written authorizations for representatives of a case are not put in the case file\\"';
     } else {
         if (!checkRule4()) {
             $DB_err = '\\"Every administrative case is either an appeal or an objection or an appeal to an administrative court. (Art.6:4 Awb)\\"';
         } else {
             if (!checkRule13()) {
                 $DB_err = '\\"\\"';
             } else {
                 if (!checkRule15()) {
                     $DB_err = '\\"\\"';
                 } else {
                     if (!checkRule16()) {
                         $DB_err = '\\"\\"';
                     } else {
                         if (!checkRule17()) {
                             $DB_err = '\\"\\"';
                         } else {
                             if (!checkRule19()) {
                                 $DB_err = '\\"\\"';
                             } else {
                                 if (!checkRule21()) {
                                     $DB_err = '\\"\\"';
                                 } else {
                                     if (!checkRule23()) {
                                         $DB_err = '\\"\\"';
                                     } else {
                                         if (!checkRule25()) {
                                             $DB_err = '\\"\\"';
                                         } else {
                                             if (!checkRule36()) {
                                                 $DB_err = '\\"\\"';
                                             } else {
                                                 if (!checkRule63()) {
                                                     $DB_err = '\\"\\"';
                                                 } else {
                                                     if (!checkRule64()) {
                                                         $DB_err = '\\"\\"';
                                                     } else {
                                                         if (true) {
                                                             // all rules are met
                                                             DB_doquer('COMMIT');
                                                             return true;
                                                         }
                                                     }
                                                 }
                                             }
                                         }
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
     DB_doquer('ROLLBACK');
     return false;
 }