ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Simplify Business Logic with PHP DataObjects
Subject:   This is great!
Date:   2007-03-20 00:16:31
From:   Jacquelientje
This is a very cool article. I only had to rewrite the find() method a bit to get it working:


$where[] = $name . " = '" . mysql_escape_string($this->$name) . "'";


Also, the Reflection class returns too much properties if you are inheriting from another class like I did. ;-)