Extending MySQLi_Result object
| From: | Joe Bandenburg | Date: | Tue, 16 Nov 2004 20:15:10 +0000 |
| Subject: | Extending MySQLi_Result object | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37300@lists.php.net to get a copy of this message | ||
i there,
It's my first post here, so go gentle.
I have run into a problem when trying to extend the MySQLi_result object because the MySQLi object's method "query" always returns a MySQLi_result and, to my knowledge, it is impossible to make it do otherwise. So, my question is, how do I alter the "query" method to return my new MySQLi_result object instead of the base object? Or, is there another/better way of achieving what I'm looking for? Am I missing something very obvious here? :)
Thanks,
Joe Bandenburg