[Deprecated] DMZ 1.5.3 (DataMapper OverZealous Edition) |
[eluser]MeanStudios[/eluser]
[quote author="OverZealous.com" date="1247215056"][quote author="MeanStudios" date="1247026315"]Is there another hidden function that will turn the object values into an associative array? Or should I do something like: Code: $subscriber_groups = array(); Would that be the more efficient way of doing it?[/quote] Sorry about the delay on replying to this. Currently, there is no hidden method. I would use the example you provided, but wrap it in an Extension, so you can easily use it on any model. I recommend calling it all_to_array. If you decide to do this, then it can be shared. I might add it as an extension myself, if I get some time.[/quote] That is exactly what I did - all is good . |
Welcome Guest, Not a member yet? Register Sign In |