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