/**
 * Retrieve object using using composite pkey values.
 * @param      int $user_id
   @param      string $ip_address
   
 * @param      PropelPDO $con
 * @return     SfGuardRememberKey
 */
 public static function retrieveByPK($user_id, $ip_address, PropelPDO $con = null)
 {
     $key = serialize(array((string) $user_id, (string) $ip_address));
     if (null !== ($obj = SfGuardRememberKeyPeer::getInstanceFromPool($key))) {
         return $obj;
     }
     if ($con === null) {
         $con = Propel::getConnection(SfGuardRememberKeyPeer::DATABASE_NAME, Propel::CONNECTION_READ);
     }
     $criteria = new Criteria(SfGuardRememberKeyPeer::DATABASE_NAME);
     $criteria->add(SfGuardRememberKeyPeer::USER_ID, $user_id);
     $criteria->add(SfGuardRememberKeyPeer::IP_ADDRESS, $ip_address);
     $v = SfGuardRememberKeyPeer::doSelect($criteria, $con);
     return !empty($v) ? $v[0] : null;
 }