original_string: public function beginTransaction()
      {
          $this->connect();
          if ($this->_connection->inTransaction()) {
              return true;
          }
  
          return $this->_connection->beginTransaction();
      }
code: public function beginTransaction()
      {
          $this->connect();
          if ($this->_connection->inTransaction()) {
              return true;
          }
  
          return $this->_connection->beginTransaction();
      }
code_tokens: public function beginTransaction ( ) { $ this -> connect ( ) ; if ( $ this -> _connection -> inTransaction ( ) ) { return true ; } return $ this -> _connection -> beginTransaction ( ) ; }
docstring: Starts a transaction
  
  @return bool true on success, false otherwise
docstring_tokens: Starts a transaction