/**
	 * Delete or soft delete records, depending on AbsenceEleveTraitementPeer::$softDelete
	 *
	 * @param			 mixed $values Criteria or AbsenceEleveTraitement object or primary key or array of primary keys
	 *							which is used to create the DELETE statement
	 * @param			 PropelPDO $con the connection to use
	 * @return		 int	The number of affected rows (if supported by underlying database driver).
	 * @throws		 PropelException Any exceptions caught during processing will be
	 *							rethrown wrapped into a PropelException.
	 */
	public static function doDelete($values, PropelPDO $con = null)
	{
		if (AbsenceEleveTraitementPeer::isSoftDeleteEnabled()) {
			return AbsenceEleveTraitementPeer::doSoftDelete($values, $con);
		} else {
			return AbsenceEleveTraitementPeer::doForceDelete($values, $con);
		}
	}