public function beginTransaction()
    {
        $this->connect();
        if ($this->_connection->inTransaction()) {
            return true;
        }

        return $this->_connection->beginTransaction();
    }
public function beginTransaction()
    {
        $this->connect();
        if ($this->_connection->inTransaction()) {
            return true;
        }

        return $this->_connection->beginTransaction();
    }
public function beginTransaction ( ) { $ this -> connect ( ) ; if ( $ this -> _connection -> inTransaction ( ) ) { return true ; } return $ this -> _connection -> beginTransaction ( ) ; }
Starts a transaction

@return bool true on success, false otherwise
Starts a transaction