public function getMovie($con = null) { if ($this->aMovie === null && $this->id !== null) { $this->aMovie = MoviePeer::retrieveByPK($this->id, $con); } return $this->aMovie; }