Would you mind taking a look at this code and telling me what you think of the approach?
http://gitorious.org/~candrews/statusnet/candrews-clone/blobs/noini/classes/Plugin_DataObject.php Previously, I was overriding table(), keys(), keyTypes(), and sequenceKey(). However, I noticed that all of those methods read the DB_DATAOBJECT global, so I should really just populate that variable, then we could reuse all the DB_DataObject code. I think it's simpler this way, and more future-proof. Do you think it's better to override table(), keys(), keyTypes(), and sequenceKey() or just override databaseStructure()? Or is my approach completely not correct? Any other comments on how I'm doing database class plugins (aka the "noini" branch)? Thanks! ~Craig _______________________________________________ StatusNet-dev mailing list StatusNet-dev@lists.status.net http://lists.status.net/mailman/listinfo/statusnet-dev