Am Di, den 16.11.2004 schrieb Joe Bandenburg um 21:15:
> i there,
> 
> It's my first post here, so go gentle.

It's your 2nd post - you sent the same post one Nov. 8th, but I was on a
conference and not able to answer :)
> 
> 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? :)

Currently mysqli_result has no default constructor, and I still don't
know how to implement a good solution for, cause beside mysql_query
there is also mysql_store_result and mysql_use_result which returns a
mysqli_result object.

Also mysqli_stmt object isn't really extendable.

We are working on a solution for PHP 5.1 now (which will be released
next year).

/Georg
-- 
Georg Richter, Senior Software Developer
MySQL AB, www.mysql.com

Are you MySQL certified?  www.mysql.com/certification

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to