original_string: private function SaveToTable($table)
      {
          $sql = Access::SqlBuilder();
          $fields = array();
          $setList = null;
          foreach ($this->Elements()->GetElements() as $element)
          {
              $this->HandleElement($table, $element, $fields, $setList);
          }
          if ($setList)
          {
              Access::Connection()->ExecuteQuery($sql->Insert($sql->Table($table, $fields), $setList));
          }
      }
code: private function SaveToTable($table)
      {
          $sql = Access::SqlBuilder();
          $fields = array();
          $setList = null;
          foreach ($this->Elements()->GetElements() as $element)
          {
              $this->HandleElement($table, $element, $fields, $setList);
          }
          if ($setList)
          {
              Access::Connection()->ExecuteQuery($sql->Insert($sql->Table($table, $fields), $setList));
          }
      }
code_tokens: private function SaveToTable ( $ table ) { $ sql = Access :: SqlBuilder ( ) ; $ fields = array ( ) ; $ setList = null ; foreach ( $ this -> Elements ( ) -> GetElements ( ) as $ element ) { $ this -> HandleElement ( $ table , $ element , $ fields , $ setList ) ; } if ( $ setList ) { Access :: Connection ( ) -> ExecuteQuery ( $ sql -> Insert ( $ sql -> Table ( $ table , $ fields ) , $ setList ) ) ; } }
docstring: Stores the results in a database table
  @param string $table The table name
docstring_tokens: Stores the results in a database table