public function info($pa_parameters) { AssetLoadManager::register('panel'); parent::info($pa_parameters); $vn_annotation_id = isset($pa_parameters['annotation_id']) ? $pa_parameters['annotation_id'] : null; $t_annotation = new ca_representation_annotations($vn_annotation_id); $t_rep = new ca_object_representations($t_annotation->get('representation_id')); if ($vn_annotation_id) { $this->view->setVar('screen', $this->request->getActionExtra()); // name of screen // find object editor screen with media bundle $t_ui = ca_editor_uis::loadDefaultUI('ca_object_representations', $this->request, $t_rep->getTypeID()); $this->view->setVar('representation_editor_screen', $t_ui->getScreenWithBundle('ca_representation_annotations', $this->request)); } return $this->render('widget_representation_annotation_info_html.php', true); }