Welcome Guest, Not a member yet? Register   Sign In
Model class- and member naming
#2

[eluser]Dan Murfitt[/eluser]
I'm also getting this problem with a model I've created containing a private $email field. I've only noticed the problem once I've started to use the email library (which I guess has a private $email field too?). Here's the message I'm getting:

Code:
Fatal error: Cannot access private property Usermodel::$email in C:\xampp\htdocs\pm4\system\libraries\Model.php on line 69

Are there reserved field names which can't be used in custom libraries and models?

Thanks


Messages In This Thread
Model class- and member naming - by El Forum - 04-21-2008, 02:16 AM
Model class- and member naming - by El Forum - 07-23-2008, 05:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB