objects_type = 'series';
}
protected function get_form() {
global $charset;
global $selector_serie_form;
$form = $selector_serie_form;
$form = str_replace("!!deb_saisie!!", htmlentities($this->user_input,ENT_QUOTES,$charset), $form);
$form = str_replace("!!base_url!!",static::get_base_url(),$form);
return $form;
}
protected function save() {
global $serie_nom;
$value = $serie_nom;
$serie = new serie(0);
$serie->update($value);
return $serie->s_id;
}
protected function get_authority_instance($authority_id=0, $object_id=0) {
//return new authority($authority_id, $object_id, AUT_TABLE_SERIES);
return authorities_collection::get_authority('authority', $authority_id, ['num_object' => $object_id, 'type_object' => AUT_TABLE_SERIES]);
}
protected function get_display_object($authority_id=0, $object_id=0) {
global $msg, $charset;
global $caller;
global $callback;
$display = '';
$authority = $this->get_authority_instance($authority_id, $object_id);
$serie = $authority->get_object_instance();
$display .= pmb_bidi($authority->get_display_statut_class_html()."
get_num_object()."', '".htmlentities(addslashes($serie->get_header()),ENT_QUOTES,$charset)."','$callback')\">
".$serie->get_header()."");
$display .= "
";
return $display;
}
protected function get_searcher_instance() {
return searcher_factory::get_searcher('series', '', $this->user_input);
}
}
?>