MIOLO20
Tudo Estruturas de dados Namespaces Ficheiros Funções Variáveis
mtransaction.class
Ir para a documentação deste ficheiro.
1<?php
7{
16 {
17 $this->conn->executemode = OCI_DEFAULT; // AutoCommit = false
18 }
19
27 function _commit()
28 {
29 OCICommit($this->conn->id);
30 $this->conn->executemode = OCI_COMMIT_ON_SUCCESS;
31 }
32
40 function _rollback()
41 {
42 OCIRollback($this->conn->id);
43 $this->conn->executemode = OCI_COMMIT_ON_SUCCESS;
44 }
45}
46?>