Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
how to set an array when use Orm
  • $rows = \Model_Language_File::find('all'); how to set an array? like $rows->to_array();
  • ORM means Object Relational Mapper. Thus it maps the database to objects and relations. It will not return arrays. You can however turn individual instances into arrays ($object->to_array()) or use an ORM instance as an array ($object).
  • thank you

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion