/** * Affiche les données renvoyées par les vues */ public function proceed($context = array()) { global $pmb_url_base, $categ, $sub, $id, $quoi; $this->authority = new authority(0, $this->concept->get_id(), AUT_TABLE_CONCEPT); // On va chercher les onglets de l'autorité $this->authority->set_authority_tabs($this->get_authority_tabs()); // On va chercher la liste d'éléments à afficher $authority_list_ui = $this->authority->get_authority_list_ui(); if ($authority_list_ui) { $authority_list_ui->set_current_url($pmb_url_base . 'autorites.php?categ=' . $categ . '&sub=' . $sub . '&id=' . $id . '&quoi=' . $quoi); } $context['authority'] = array('broaders' => skos_view_concepts::get_broaders_list($this->concept->get_broaders()), 'title' => skos_view_concept::get_concept($this->concept), 'light_title' => skos_view_concept::get_concept_title($this->concept), 'narrowers' => skos_view_concepts::get_narrowers_list($this->concept->get_narrowers()), 'details' => skos_view_concept::get_detail_concept($this->concept), 'composed_concepts' => skos_view_concepts::get_composed_concepts_list($this->concept->get_composed_concepts()), 'authoritieslist' => skos_view_concept::get_authorities_indexed_with_concept($this->concept)); print $this->authority->render($context); }
/** * Affiche les données renvoyées par les vues */ public function proceed() { $authority = new authority("concept", $this->concept->get_id()); $context['authority'] = array('broaders' => skos_view_concepts::get_broaders_list($this->concept->get_broaders()), 'title' => skos_view_concept::get_concept($this->concept), 'narrowers' => skos_view_concepts::get_narrowers_list($this->concept->get_narrowers()), 'details' => skos_view_concept::get_detail_concept($this->concept), 'composed_concepts' => skos_view_concepts::get_composed_concepts_list($this->concept->get_composed_concepts()), 'recordslist' => skos_view_concept::get_notices_indexed_with_concept($this->concept), 'authoritieslist' => skos_view_concept::get_authorities_indexed_with_concept($this->concept)); print $authority->render($context); }