public function getNgRegInfo($con = null) { include_once 'lib/model/om/BaseNgRegInfoPeer.php'; if ($this->aNgRegInfo === null && $this->ng_reg_info_id !== null) { $this->aNgRegInfo = NgRegInfoPeer::retrieveByPK($this->ng_reg_info_id, $con); } return $this->aNgRegInfo; }