default_template = "
{{serie.name}}
";
}
public function render($datas){
//on rajoute nos éléments...
//le titre
$render_datas = array();
$render_datas['title'] = $this->msg["frbr_entity_series_view_title"];
$render_datas['serie'] = new authority(0, $datas[0], AUT_TABLE_SERIES);
//on rappelle le tout...
return parent::render($render_datas);
}
public function get_format_data_structure(){
$format = array();
$format[] = array(
'var' => "title",
'desc' => $this->msg['frbr_entity_series_view_title']
);
$serie = array(
'var' => "serie",
'desc' => $this->msg['frbr_entity_series_view_label'],
'children' => authority::get_properties(AUT_TABLE_SERIES,"serie")
);
$format[] = $serie;
$format = array_merge($format,parent::get_format_data_structure());
return $format;
}
}