original_string: public function install_from_xmldb_structure($xmldb_structure) {
  
          if (!$sqlarr = $this->generator->getCreateStructureSQL($xmldb_structure)) {
              return; // nothing to do
          }
  
          $tablenames = array();
          foreach ($xmldb_structure as $xmldb_table) {
              if ($xmldb_table instanceof xmldb_table) {
                  $tablenames[] = $xmldb_table->getName();
              }
          }
          $this->execute_sql_arr($sqlarr, $tablenames);
      }
code: public function install_from_xmldb_structure($xmldb_structure) {
  
          if (!$sqlarr = $this->generator->getCreateStructureSQL($xmldb_structure)) {
              return; // nothing to do
          }
  
          $tablenames = array();
          foreach ($xmldb_structure as $xmldb_table) {
              if ($xmldb_table instanceof xmldb_table) {
                  $tablenames[] = $xmldb_table->getName();
              }
          }
          $this->execute_sql_arr($sqlarr, $tablenames);
      }
code_tokens: public function install_from_xmldb_structure ( $ xmldb_structure ) { if ( ! $ sqlarr = $ this -> generator -> getCreateStructureSQL ( $ xmldb_structure ) ) { return ; // nothing to do } $ tablenames = array ( ) ; foreach ( $ xmldb_structure as $ xmldb_table ) { if ( $ xmldb_table instanceof xmldb_table ) { $ tablenames [ ] = $ xmldb_table -> getName ( ) ; } } $ this -> execute_sql_arr ( $ sqlarr , $ tablenames ) ; }
docstring: This function will generate all the needed SQL statements, specific for each
  RDBMS type and, finally, it will execute all those statements against the DB.
  
  @param stdClass $xmldb_structure xmldb_structure object.
  @return void
docstring_tokens: This function will generate all the needed SQL statements specific for each RDBMS type and finally it will execute all those statements against the DB .