public function accessoptionsAction() { // fetch all the target data for xsl lookups $uo = new UserOptions($this->request); $type = $uo->getSessionData('source_type'); $pzt = new Targets($type); $this->data->setVariable('all-targets', $pzt->toArray()); $pzt = new Affiliations(); $this->data->setVariable('all-institutions', $pzt->getAllInstitutions()); $this->data->setVariable('useroptions', $uo); return $this->data; }