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