View Single Post
  #1 (permalink)  
Old 04-07-2008, 03:49 PM
intregus intregus is offline
Junior Member
 
Join Date: Feb 2008
Posts: 17
Question Zend_Auth_Adapter_DbTable result object

I am trying to use Zend_Auth_Adapter_DbTable for authentication, and I'm having the following problem when trying to retrieve the result row object.

Code:
$result_data = $authAdapter->getResultRowObject();
I can print_r the data, and see the values, but retrieving them as an array gives the following error:

Code:
Fatal error: Cannot use object of type stdClass as array
Does anyone know the proper way of accessing the result object data?
Reply With Quote