Extending the MySQLi_Result object?
| From: | Joe Bandenburg | Date: | Mon, 08 Nov 2004 17:08:39 +0000 |
| Subject: | Extending the MySQLi_Result object? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37192@lists.php.net to get a copy of this message | ||
Hi 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