src/Web2All/Table/ObjectList.class.php
public function fetchData()
  {
    parent::fetchData();
    $this->is_assoc=(is_null($this->key) ? false : true);
    $this->result=array();
    while (!$this->recordSet->EOF) {
      $table_obj=clone $this->search_obj;
      $table_obj->loadFromDBArray($this->recordSet->FetchRow());
      if ($this->is_assoc) {
        $this->result[$table_obj->{$this->key}]=$table_obj;
      }else{
        $this->result[]=$table_obj;
      }
    }
    $this->recordSet->close();
  }
public function fetchData()
  {
    parent::fetchData();
    $this->is_assoc=(is_null($this->key) ? false : true);
    $this->result=array();
    while (!$this->recordSet->EOF) {
      $table_obj=clone $this->search_obj;
      $table_obj->loadFromDBArray($this->recordSet->FetchRow());
      if ($this->is_assoc) {
        $this->result[$table_obj->{$this->key}]=$table_obj;
      }else{
        $this->result[]=$table_obj;
      }
    }
    $this->recordSet->close();
  }
fetch all data from the database
and store the result in this object.

after this method has been called, this object can be
treated as an array of Web2All_Table_IListableObject's