isAutoCommit() публичный Метод

Returns the current auto-commit mode for this connection.
См. также: setAutoCommit
public isAutoCommit ( ) : boolean
Результат boolean True if auto-commit mode is currently enabled for this connection, false otherwise.
Пример #1
0
 /**
  * @group DBAL-81
  */
 public function testSetAutoCommit()
 {
     $this->_conn->setAutoCommit(false);
     $this->assertFalse($this->_conn->isAutoCommit());
     $this->_conn->setAutoCommit(0);
     $this->assertFalse($this->_conn->isAutoCommit());
 }