params = $params; } } public function proceed() { } public function proceed_ajax() { if (isset($this->params['action'])) { switch($this->params['action']) { case 'get_grammar_form': print $this->get_grammar_form(); break; default: break; } } } private function get_grammar_form() { $html = ''; if (!empty($this->params['name'])) { $vedette = new vedette_composee(0, $this->params['name']); $html = encoding_normalize::utf8_normalize(vedettes_ui::get_grammar_form($vedette, $this->params['property_name'], 0, $this->params['instance_name'], 'http://www.w3.org/2000/01/rdf-schema#Literal')); } return $html; } }