Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
modules + relation orm
Hi, I tried finding any topic on this on the forum but can't find it. Let's say I create a module with some relational models.
But one of these has to be related to a user model in the ROOT/app/models How would I need to do that?
Check out the
docs on this
, by configuring the "model_to" property you can relate to any class. When the other model is in the app it will be just the classname, for models from other modules or from packages you must include the namespace.
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