/** * Sets up view variables for upper-left-hand info panel (aka. "inspector"). Actual rendering is performed by calling sub-class. * * @param array $pa_parameters Array of parameters as specified in navigation.conf, including primary key value and type_id * @return string rendered view ready for display */ public function Info($pa_parameters) { if ($this->getRequest()->getAction() == "Index" || $this->getRequest()->getAction() == "Delete") { $t_exporter = $this->getExporterInstance(false); $this->getView()->setVar('t_item', $t_exporter); $this->getView()->setVar('exporter_count', ca_data_exporters::getExporterCount()); return $this->render('export/widget_exporter_list_html.php', true); } else { $t_exporter = $this->getExporterInstance(); $this->getView()->setVar('t_item', $t_exporter); return $this->render('export/widget_exporter_info_html.php', true); } }