NYCPHP Meetup

NYPHP.org

[nycphp-talk] Modified and created times using DB_DataObject

Mike Brittain mike at mikebrittain.com
Sun Nov 27 14:42:43 EST 2005


Is anyone aware of a way to auto-set "created" and "modified" datetime 
fields in a database using PEAR's DB_DataObject library?  I have these 
two fields associated with just about every table in my database, and it 
would make sense to me that these could be automatically set when using 
::update() and ::insert() methods on any of my DataObjects.

Mike

-- 
Mike Brittain
ID Society, Inc.
www.idsociety.com



More information about the talk mailing list