public static function retrieveByPKs($pks, $con = null) { if ($con === null) { $con = Propel::getConnection(self::DATABASE_NAME); } $objs = null; if (empty($pks)) { $objs = array(); } else { $criteria = new Criteria(); $criteria->add(EmployeeAbsenceDevPeer::ID, $pks, Criteria::IN); $objs = EmployeeAbsenceDevPeer::doSelect($criteria, $con); } return $objs; }