public function executeList() { $this->careerresourcess = CareerresourcesPeer::doSelect(new Criteria()); }
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(CareerresourcesPeer::ID, $pks, Criteria::IN); $objs = CareerresourcesPeer::doSelect($criteria, $con); } return $objs; }