original_string: protected function store_settings($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dboptions=null) {
          $this->dbhost    = $dbhost;
          $this->dbuser    = $dbuser;
          $this->dbpass    = $dbpass;
          $this->dbname    = $dbname;
          $this->prefix    = $prefix;
          $this->dboptions = (array)$dboptions;
      }
code: protected function store_settings($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dboptions=null) {
          $this->dbhost    = $dbhost;
          $this->dbuser    = $dbuser;
          $this->dbpass    = $dbpass;
          $this->dbname    = $dbname;
          $this->prefix    = $prefix;
          $this->dboptions = (array)$dboptions;
      }
code_tokens: protected function store_settings ( $ dbhost , $ dbuser , $ dbpass , $ dbname , $ prefix , array $ dboptions = null ) { $ this -> dbhost = $ dbhost ; $ this -> dbuser = $ dbuser ; $ this -> dbpass = $ dbpass ; $ this -> dbname = $ dbname ; $ this -> prefix = $ prefix ; $ this -> dboptions = ( array ) $ dboptions ; }
docstring: Store various database settings
  @param string $dbhost The database host.
  @param string $dbuser The database user to connect as.
  @param string $dbpass The password to use when connecting to the database.
  @param string $dbname The name of the database being connected to.
  @param mixed $prefix string means moodle db prefix, false used for external databases where prefix not used
  @param array $dboptions driver specific options
  @return void
docstring_tokens: Store various database settings