[Solar-talk] toArray() current()
Jeff Surgeson
solar at 3hex.com
Fri Feb 16 14:06:56 PST 2007
> > // fetch and cast to array
> > $list = $select->fetch('all')->toArray();
>
> Change it to:
>
> // fetch and cast to array
> $list = $select->fetch('all');
>
> ... and it will work again (with the current SVN).
The problem is not with the current svn but the new model branch, the
toArray() and current() problem have something to do with the
solar_auth/solar_access objects when using the new model branch.
When solar comes across the config.php settings for solar_auth and
solar_access it chokes on those two, toArray() on auth and current() with
access.
I assume that the auth and access objects are not being set up correctly with
the new model branch.
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.
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the solar-talk
mailing list