/** * Get the associated accessControl object * * @param PropelPDO Optional Connection object. * @return accessControl The associated accessControl object. * @throws PropelException */ public function getaccessControl(PropelPDO $con = null) { if ($this->aaccessControl === null && $this->access_control_id !== null) { $this->aaccessControl = accessControlPeer::retrieveByPk($this->access_control_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->aaccessControl->addentrys($this); */ } return $this->aaccessControl; }