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 |
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 |
} |
} |
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 |
|
|