/** * Delete all loans associated with a itemtype * @param the itemtype * @return nothing */ public static function deleteUnicity($itemtype) { $unicity = new FieldUnicity(); $unicity->deleteByCriteria(array('itemtype' => $itemtype)); }