Hi,

On 07/01/2009 06:55 PM, llaumgui wrote:

> I have a problem with the new ezcPersistentObject. On the changelog I
> can read that :
> Note: This release changes the indexing of arrays returns by
> ezcPersistentSession and its decorators. These arrays are now indexed
> by object IDs.

> I have a lot a problem in some old application, is there a backwards mode ?

I am very sorry that this change broke your application. On which
behavior do you rely exactly? If you want to access the first element,
for example, you can use

<?php

reset( $persistentObjects );

?>

For iteration over all elements you can use foreach.

Best regards,
Toby
-- 
Tobias Schlitt             [email protected]              GPG Key: 0xC462BC14
eZ Components Developer                      http://ezcomponents.org
eZ Systems AS                                           http://ez.no
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to