Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Orm
how to set an array when use Orm
yiiphp
May 2012
$rows = \Model_Language_File::find('all'); how to set an array? like $rows->to_array();
Jelmer Schreuder
May 2012
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).
yiiphp
May 2012
thank you
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Jelmer Schreuder
May 2012
yiiphp
May 2012