We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here a simple example:
public function __get($key) { if($key == 'date') { return date('d.m.Y',parent::__get($key)); } return parent::__get($key); } public function __set($key, $value) { if($key == 'date') { $value = strtotime($value); } parent::__set($key, $value); }
as_array() does not return what I would suspect doing $model->date.
Although I see there are some issues using Automodeler_ORM as it uses __get() for 1:1 and 1:m relations
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here a simple example:
as_array() does not return what I would suspect doing $model->date.
Although I see there are some issues using Automodeler_ORM as it uses __get() for 1:1 and 1:m relations
The text was updated successfully, but these errors were encountered: