/** * Get the associated LiveChannelSegment object * * @param PropelPDO Optional Connection object. * @return LiveChannelSegment The associated LiveChannelSegment object. * @throws PropelException */ public function getLiveChannelSegmentRelatedByTriggerSegmentId(PropelPDO $con = null) { if ($this->aLiveChannelSegmentRelatedByTriggerSegmentId === null && ($this->trigger_segment_id !== "" && $this->trigger_segment_id !== null)) { $this->aLiveChannelSegmentRelatedByTriggerSegmentId = LiveChannelSegmentPeer::retrieveByPk($this->trigger_segment_id); /* The following can be used additionally to guarantee the related object contains a reference to this object. This level of coupling may, however, be undesirable since it could result in an only partially populated collection in the referenced object. $this->aLiveChannelSegmentRelatedByTriggerSegmentId->addLiveChannelSegmentsRelatedByTriggerSegmentId($this); */ } return $this->aLiveChannelSegmentRelatedByTriggerSegmentId; }