Welcome Guest, Not a member yet? Register   Sign In
Model and Active Record with private properties.
#1

Hi there,

I am developing a model to insert a record in the database. I am using private property and see that the "insert" the object "db" generates the error "You must use the" set "method to update an entry". My question is: I can not use private property and protected in my model? Only public?

Thanks!

Rafael Wendel Pinheiro
Capivari/BR;
Reply


Messages In This Thread
Model and Active Record with private properties. - by rafaelwendel - 04-27-2015, 05:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB