public function getCampus($con = null) { if ($this->aCampus === null && $this->campus_preference !== null) { include_once 'lib/model/om/BaseCampusPeer.php'; $this->aCampus = CampusPeer::retrieveByPK($this->campus_preference, $con); } return $this->aCampus; }