authority = $authority; } /** * Aiguilleur * @param array $context */ public function proceed($context=array()){ global $pmb_url_base, $categ, $sub, $id, $quoi; if(is_object($this->authority)){ // 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); print $this->authority->render($context); } } /** * Retourne les onglets de la page de l'autorité * @return authority_tabs */ protected function get_authority_tabs() { if (!$this->authority_tabs) { $this->authority_tabs = new authority_tabs($this->authority); } return $this->authority_tabs; } }