예제 #1
0
 /**
  * Creates the html code for a new button to show teacher view.
  * Type: form input type = submit
  * @param int $lang_id Kielen tunniste.
  * @return type
  */
 public function create_button_show_teacher_view($lang_id)
 {
     return Html::luo_forminput_painike(array(Attr::classs("inline-block")), array(Attr::classs("btn btn-" . Palautusnakymat::$btn_type_submit . " btn-" . Palautusnakymat::$btn_size_submit), Attr::value(Palautustekstit::button_show_teacher_view_value($lang_id)), Attr::title(Palautustekstit::button_show_teacher_view_title($lang_id)), Attr::name(Toimintonimet::$palautustoiminto)));
 }