/**
  * Retrieve a single object by pkey.
  *
  * @param      int $pk the primary key.
  * @param      PropelPDO $con the connection to use
  * @return     kvote
  */
 public static function retrieveByPK($pk, PropelPDO $con = null)
 {
     if (null !== ($obj = kvotePeer::getInstanceFromPool((string) $pk))) {
         return $obj;
     }
     $criteria = new Criteria(kvotePeer::DATABASE_NAME);
     $criteria->add(kvotePeer::ID, $pk);
     $v = kvotePeer::doSelect($criteria, $con);
     return !empty($v) > 0 ? $v[0] : null;
 }