21 |
* $Id$ |
* $Id$ |
22 |
* |
* |
23 |
* $Log$ |
* $Log$ |
24 |
|
* Revision 1.6 2004/05/06 17:11:55 jonen |
25 |
|
* bugfix related to new phphtmllib-v2.4.1 of Apr 01, 2004 |
26 |
|
* |
27 |
|
* Revision 1.5 2003/07/14 10:07:07 jonen |
28 |
|
* clean up |
29 |
|
* |
30 |
|
* Revision 1.4 2003/04/18 17:26:14 joko |
31 |
|
* minor fix: updated log api |
32 |
|
* |
33 |
* Revision 1.3 2003/04/18 13:48:27 joko |
* Revision 1.3 2003/04/18 13:48:27 joko |
34 |
* minor updates to comments |
* minor updates to comments |
35 |
* |
* |
201 |
function O_do_prequery() { |
function O_do_prequery() { |
202 |
$this->_read_schema(); |
$this->_read_schema(); |
203 |
} |
} |
|
function O_do_prequery() { |
|
|
} |
|
204 |
|
|
205 |
/** |
/** |
206 |
* This function does the query |
* This function does the query |
214 |
|
|
215 |
function handle_result() { |
function handle_result() { |
216 |
$this->debug("handle_result", "HANDLE RESULT!<br>"); |
$this->debug("handle_result", "HANDLE RESULT!<br>"); |
217 |
$this->propagate_result(); |
return $this->propagate_result(); |
218 |
} |
} |
219 |
|
|
220 |
function propagate_result() { |
function propagate_result() { |
229 |
} |
} |
230 |
} |
} |
231 |
} |
} |
232 |
|
if ($count > 0) { |
233 |
$this->set_total_rows( $count ); |
$this->set_total_rows($count); |
234 |
$this->sort(); |
$this->sort(); |
235 |
|
return true; |
236 |
|
} else { |
237 |
|
return false; |
238 |
|
} |
239 |
} |
} |
240 |
|
|
241 |
/** |
/** |
291 |
*/ |
*/ |
292 |
|
|
293 |
if (!is_array($this->_schema[labels] )) { |
if (!is_array($this->_schema[labels] )) { |
294 |
logp(get_class($this) . "->propagate_schema: No schema data could be read from result.", PEAR_LOG_WARNING); |
php::log(get_class($this) . "->propagate_schema: No schema data could be read from result.", PEAR_LOG_WARNING); |
295 |
return; |
return; |
296 |
} |
} |
297 |
|
|