/** * Enable the soft_delete behavior for this model */ public static function enableSoftDelete() { AbsenceEleveTraitementQuery::enableSoftDelete(); // some soft_deleted objects may be in the instance pool AbsenceEleveTraitementPeer::clearInstancePool(); }
/** * Method to invalidate the instance pool of all tables related to a_justifications * by a foreign key with ON DELETE CASCADE */ public static function clearRelatedInstancePool() { // Invalidate objects in AbsenceEleveTraitementPeer instance pool, // since one or more of them may be deleted by ON DELETE CASCADE/SETNULL rule. AbsenceEleveTraitementPeer::clearInstancePool(); }