/** * Get the associated UserSc object * * @param PropelPDO Optional Connection object. * @return UserSc The associated UserSc object. * @throws PropelException */ public function getUserSc(PropelPDO $con = null) { if ($this->aUserSc === null && $this->user_id !== null) { $this->aUserSc = UserScPeer::retrieveByPk($this->user_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->aUserSc->addTreeUsers($this); */ } return $this->aUserSc; }