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