|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
eadz Smarty Regular
Joined: 30 Apr 2003 Posts: 61 Location: Auckland, New Zealand
|
Posted: Thu May 01, 2003 12:14 am Post subject: a registered object cannot be looped over or assigned |
|
|
http://smarty.php.net/manual/en/advanced.features.php#ADVANCED.FEATURES.OBJECTS
The Manual wrote: | However, a registered object cannot be looped over or assigned in arrays of objects, etc. |
Could some please give an example on what you can't do with a registered object that you can do with an assigned object? The manual wasn't very clear. ( Or I just didn't understand it )
I think a registered object is what I want, but it says you can't loop through objects.
Does that mean I can't use myObject->get_entries in a section? looping over the array passed back from get_entries? |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Thu May 01, 2003 1:30 am Post subject: |
|
|
sorry this isn't an answer, but... why not just try it out?? |
|
Back to top |
|
eadz Smarty Regular
Joined: 30 Apr 2003 Posts: 61 Location: Auckland, New Zealand
|
Posted: Thu May 01, 2003 5:13 am Post subject: |
|
|
I'm looking for the differences between a registered object and an assigned object. The manual isn't very clear. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|