[Solar-talk] toArray() current()

Rodrigo Moraes rodrigo.moraes at gmail.com
Fri Feb 16 15:13:55 PST 2007


On 2/16/07, Jeff Surgeson wrote:
> I have successfully set up and used the new model class but have not been able
> to get the default solar auth and access side working with the new  model
> class.

Ok, here are two hacks to get the auth/access sql adapters working
with the model branch (I was referring the branch when I said SVN in
my last message):

1. Solar_Auth_Adapter_Sql, line 149. Replace:

    $row = $rows->current();

By:

    $row = $row[0];

2. Solar_Access_Adapter_Sql, line 155. Replace:

    $list = $select->fetch('all')->toArray();

By:

    $list = $select->fetch('all');

Done. Authentication is no more a problem for you to test the new
model classes :)

rodrigo.
-------------------------------
http://tipos.com.br


More information about the solar-talk mailing list