function getOptions() { if (!$this->searchopt) { $this->searchopt = Search::getOptions($this->getType()); } return $this->searchopt; }