/[cvs]/nfo/php/libs/org.netfrag.glib/DataSource/Adapter/phpHtmlLib/DataSource.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/DataSource/Adapter/phpHtmlLib/DataSource.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jonen, Thu Mar 27 01:21:30 2003 UTC revision 1.2 by jonen, Thu May 6 17:08:22 2004 UTC
# Line 16  Line 16 
16   * $Id$   * $Id$
17   *   *
18   * $Log$   * $Log$
19     * Revision 1.2  2004/05/06 17:08:22  jonen
20     * bugfix related to new phphtmllib-v2.4.1 of Apr 01, 2004
21     *
22   * Revision 1.1  2003/03/27 01:21:30  jonen   * Revision 1.1  2003/03/27 01:21:30  jonen
23   * + renamed   * + renamed
24   *   *
# Line 78  class DataSource_Adapter_phpHtmlLib_Data Line 81  class DataSource_Adapter_phpHtmlLib_Data
81        
82    function fetch($force = 0) {    function fetch($force = 0) {
83      $this->_result = $this->_proxy->get_result();      $this->_result = $this->_proxy->get_result();
     //print "size: " . sizeof($this->_result) . "<br/>";  
84      if (!sizeof($this->_result) || $force) {      if (!sizeof($this->_result) || $force) {
85        $this->_result = $this->_proxy->query_data();        $this->_result = $this->_proxy->query_data();
86      }      }
87      $this->propagate();      return $this->propagate();
88    }    }
89    
90    function propagate() {    function propagate() {
91      $this->handle_result();      return $this->handle_result();
92    }    }
93        
94    
# Line 101  class DataSource_Adapter_phpHtmlLib_Data Line 103  class DataSource_Adapter_phpHtmlLib_Data
103    }    }
104    
105    function do_query() {    function do_query() {
106      $this->fetch();      return $this->fetch();
107    }    }
108                    
109  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed