pkp/omp — comment on commit 44613829e3bbeb43e297cce66df9f98a7d9dc429
File: classes/spotlight/SpotlightDAO.inc.php line 204
By asmecher:

I'm leaning towards calling this kind of function getByAssoc rather than getByAssocId. You need to specify both assoc type and assoc ID and this name implies that only the ID is required. (Not a big deal.)