mySQL DAO Design Pattern for PHP