public function getHotSpots() { if (($hotspots = $this->getViewState('HotSpots', null)) === null) { $hotspots = new THotSpotCollection(); $this->setViewState('HotSpots', $hotspots); } return $hotspots; }