default_template = "

{{author.name}}

{{author.comment}}
"; } public function render($datas){ $render_datas = array(); //$render_datas['title'] = $this->msg["frbr_entity_expl_view_title"]; $render_datas['author'] = new authority(0, $datas[0], AUT_TABLE_AUTHORS); return parent::render($render_datas); } public function get_format_data_structure(){ $format = array(); $format[] = array( 'var' => "title", 'desc' => $this->msg['frbr_entity_expl_view_title'] ); $author = array( 'var' => "author", 'desc' => $this->msg['frbr_entity_expl_view_label'], 'children' => $this->prefix_var_tree(auteur::get_format_data_structure(),"author") ); $format[] = $author; return $format; } }