original_string: protected function transactions_supported() {
          if (!is_null($this->transactions_supported)) {
              return $this->transactions_supported;
          }
  
          // this is all just guessing, might be better to just specify it in config.php
          if (isset($this->dboptions['dbtransactions'])) {
              $this->transactions_supported = $this->dboptions['dbtransactions'];
              return $this->transactions_supported;
          }
  
          $this->transactions_supported = false;
  
          $engine = $this->get_dbengine();
  
          // Only will accept transactions if using compatible storage engine (more engines can be added easily BDB, Falcon...)
          if (in_array($engine, array('InnoDB', 'INNOBASE', 'BDB', 'XtraDB', 'Aria', 'Falcon'))) {
              $this->transactions_supported = true;
          }
  
          return $this->transactions_supported;
      }
code: protected function transactions_supported() {
          if (!is_null($this->transactions_supported)) {
              return $this->transactions_supported;
          }
  
          // this is all just guessing, might be better to just specify it in config.php
          if (isset($this->dboptions['dbtransactions'])) {
              $this->transactions_supported = $this->dboptions['dbtransactions'];
              return $this->transactions_supported;
          }
  
          $this->transactions_supported = false;
  
          $engine = $this->get_dbengine();
  
          // Only will accept transactions if using compatible storage engine (more engines can be added easily BDB, Falcon...)
          if (in_array($engine, array('InnoDB', 'INNOBASE', 'BDB', 'XtraDB', 'Aria', 'Falcon'))) {
              $this->transactions_supported = true;
          }
  
          return $this->transactions_supported;
      }
code_tokens: protected function transactions_supported ( ) { if ( ! is_null ( $ this -> transactions_supported ) ) { return $ this -> transactions_supported ; } // this is all just guessing, might be better to just specify it in config.php if ( isset ( $ this -> dboptions [ 'dbtransactions' ] ) ) { $ this -> transactions_supported = $ this -> dboptions [ 'dbtransactions' ] ; return $ this -> transactions_supported ; } $ this -> transactions_supported = false ; $ engine = $ this -> get_dbengine ( ) ; // Only will accept transactions if using compatible storage engine (more engines can be added easily BDB, Falcon...) if ( in_array ( $ engine , array ( 'InnoDB' , 'INNOBASE' , 'BDB' , 'XtraDB' , 'Aria' , 'Falcon' ) ) ) { $ this -> transactions_supported = true ; } return $ this -> transactions_supported ; }
docstring: Are transactions supported?
  It is not responsible to run productions servers
  on databases without transaction support ;-)
  
  MyISAM does not support support transactions.
  
  You can override this via the dbtransactions option.
  
  @return bool
docstring_tokens: Are transactions supported? It is not responsible to run productions servers on databases without transaction support ; - )