Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Is there a way to remove a fetched model instance?
I am using nestedsets and I would like to get a tree with dump_tree, but before, I would like to edit the already fetched items. So I call dump_tree twice, first time always as objects, so I have all the Models. How can I delete these models from fetched data, but not deleting from a database.
It is just an aproach, not an implementetion, so if it is not possible, I will find another way.
I don't understand what you mean with "delete these models from fetched data"?
When I use find(id) then there is no data queried from the server, but returned data from cached objects.
But I already moved on, thanks.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion