Ejemplo n.º 1
0
    public static function retrieveByPKs($pks, PropelPDO $con = null)
    {
        if ($con === null) {
            $con = Propel::getConnection(StatusPeer::DATABASE_NAME, Propel::CONNECTION_READ);
        }
        $objs = null;
        if (empty($pks)) {
            $objs = array();
        } else {
            $criteria = new Criteria(StatusPeer::DATABASE_NAME);
            $criteria->add(StatusPeer::ID, $pks, Criteria::IN);
            $objs = StatusPeer::doSelect($criteria, $con);
        }
        return $objs;
    }
    // symfony behavior
    /**
     * Returns an array of arrays that contain columns in each unique index.
     *
     * @return array
     */
    public static function getUniqueColumnNames()
    {
        return array();
    }
}
// BaseStatusPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseStatusPeer::buildTableMap();