Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Access custom data in ORM model
I'm trying to add a statistics modul to my application, for which I need a sum of all price in certain time period.
Currently I've got a query like this:
, which creates non-standard properties sum and spares_sum in the model.
When print_r-ing the result of such query I get a model like this:
. As you can see, the two properties are in "_custom_data". When trying to access them as in an array I get a non-existing key error.
Is there a way to access these properties? If not, can I create a query similar to mine in ORM way?
sorry, I had a typo when trying to access the property
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