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
Using __get($prop) in an orm model
kapv89
October 2011
I have a simple __get() function in my model ...
http://scrp.at/aBj
... I get a warning ...
http://scrp.at/aBk
... please help me out
Jelmer Schreuder
October 2011
This is the __get() method:
https://github.com/fuel/orm/blob/1.0/master/classes/model.php#L673
Note the & in front of it, that's part of its signature and must be in the extension as well to prevent the warning.
kapv89
October 2011
k.. thanks
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
October 2011
kapv89
October 2011