-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__set in \App\Entities\Sample doesnt works #499
Comments
Ok that issue is in documentation :). instead of: instead of
should be:
|
Good catch. The Entity class didn't exist when those docs were written up. I'll need to adjust those now. However, there are docs for the Entity class, but it looks like they're not showing up in the index. You can find them, here, though. |
I'm trying to use Entities.
In my model SampleModel.php I've got:
and in Entity Sample.php
but that __set is never used by BASEPATH.'Model.php'.
I can also define __set in my SampleModel instead od Entity which called Sample... but why?
And why when I change method __set in SampleModel like that:
it prints only salt and their value ?
Is it a bug?
The text was updated successfully, but these errors were encountered: