Example #1
0
 /**
  * public static function getListbox( $label_name, $id, $name, $all_value , $selected = FALSE, $multiple = TRUE, $other_after = '', $other_before = '' )
  *
  * @param string $label_name 	text contained into the label
  * @param string $id 			the id of the element
  * @param string $name 			the name of the element
  * @param string $all_value 	all the possible value of the select element
  * @param array  $selected 		the elements selected
  * @param bool   $multiple		is a multi select listbox
  * @param string $other_after 	optional html code added after the input element
  * @param string $other_before 	optional html code added before the label element
  *
  * @return string with the html code for the input type="text" element
  */
 public static function getListbox($label_name, $id, $name, $all_value, $selected = FALSE, $multiple = TRUE, $other_after = '', $other_before = '', $other_param = '')
 {
     return Form::getLineListbox('form_line_l', 'floating', $label_name, 'listbox', $id, $name, $all_value, $selected === FALSE ? array() : $selected, $multiple, $other_param, $other_after, $other_before);
 }