/[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.2 by jonen, Thu May 6 17:08:22 2004 UTC revision 1.3 by jonen, Thu Oct 7 14:13:12 2004 UTC
# Line 16  Line 16 
16   * $Id$   * $Id$
17   *   *
18   * $Log$   * $Log$
19     * Revision 1.3  2004/10/07 14:13:12  jonen
20     * + updates related to DataList-filters which are mapped to backend now (page-control!)
21     *
22   * Revision 1.2  2004/05/06 17:08:22  jonen   * Revision 1.2  2004/05/06 17:08:22  jonen
23   * bugfix related to new phphtmllib-v2.4.1 of Apr 01, 2004   *  bugfix related to new phphtmllib-v2.4.1 of Apr 01, 2004
24   *   *
25   * Revision 1.1  2003/03/27 01:21:30  jonen   * Revision 1.1  2003/03/27 01:21:30  jonen
26   * + renamed   * + renamed
# Line 81  class DataSource_Adapter_phpHtmlLib_Data Line 84  class DataSource_Adapter_phpHtmlLib_Data
84        
85    function fetch($force = 0) {    function fetch($force = 0) {
86      $this->_result = $this->_proxy->get_result();      $this->_result = $this->_proxy->get_result();
87        $this->_query_params["num_total_rows"] = $this->_proxy->get_result_count();
88      if (!sizeof($this->_result) || $force) {      if (!sizeof($this->_result) || $force) {
89        $this->_result = $this->_proxy->query_data();        $this->_result = $this->_proxy->query_data();
90      }      }
# Line 105  class DataSource_Adapter_phpHtmlLib_Data Line 109  class DataSource_Adapter_phpHtmlLib_Data
109    function do_query() {    function do_query() {
110      return $this->fetch();      return $this->fetch();
111    }    }
112      
113      function get_total_rows() {
114        return $this->_proxy->get_result_count();
115      }
116                    
117  }  }
118    

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

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