bozana/ojs — comment on commit f31259d1aa89932ebd3e11d8b76e1adc0be7ac9c
File: classes/article/ArticleTombstoneDAO.inc.php line 72
By asmecher:

We're following a slightly different pattern here -- there should be a "newDataObject" method in the DAO which is in charge of calling the constructor. Using this pattern, someone else can come along and override the DAO and DataObject and make the DAO instantiate the subclass. (See e.g. lib/pkp/classes/user/InterestEntryDAO.inc.php for an example.)