Subject: idea: has_ function
It would be great if there was a has_ function for example$school->has_teacher_assistantwould return bool, the table being school and the column being tacher_assistant. has would be a magic method that checks if row is null or empty.
also, why are you guys not on github?
I think you mean column instead of row (checks if row is null or empty)? But yeah this would be a useful addition.
We are on github https://github.com/kla/php-activerecord
June 27 2010
April 16, 2013
phpactiverecord.org - An easy to use ORM for PHP