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 |
* |
* |
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 |
|
|
103 |
} |
} |
104 |
|
|
105 |
function do_query() { |
function do_query() { |
106 |
$this->fetch(); |
return $this->fetch(); |
107 |
} |
} |
108 |
|
|
109 |
} |
} |