コード例 #1
0
 /**
  * @param   string      $table
  * @param   mixed       $fields
  * @param   mixed       $id     can be null
  * @param   ADODB       $db
  */
 public function __construct($table, $fields, $id, $db)
 {
     $this->table = $table;
     $this->fields = $fields;
     $this->id = $id;
     $this->type = $this->getTransactionType();
     $this->db_error = $db->ErrorMsg();
     parent::__construct($this->makeMessage());
 }