[eluser]Ramania[/eluser]
[quote author="WanWizard" date="1345549198"][quote author="Ramania" date="1345544764"]1. i am using get_paged_iterated, is there anyway i can get the first and/or last items of the protected 'result' object? something like $results->first without doing a foreach loop?.[/quote]
You can access the loaded objects using $object->all. This is a normal array, so you can use reset(), end() etc to get elements from it.
[quote author="Ramania" date="1345544764"]2. Is there any plan or a quick work around for polymorphic associations?.[/quote]
Short answer: yes. no.[/quote]
Thank you, since get_paged_iterated has an empty 'all' object, i used get_paged instead, according to the guide this has some performance issue, but i don't think it matters when i am getting 20 items at a given time, i hope i am right.