Example #1
0
 /**
  * public static function getCheckbox(  $label_name, $id, $name, $is_checked = false, $value = 1 )
  *
  * @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 	$value 			value for the input field
  * @param boolean 	$is_checked 	optional,if true the checkbox is checked, default is false
  * @param string 	$other_param 	added in the html code
  *
  * @return string with the html code for the input type="checkbox" element
  */
 public static function getCheckbox($label_name, $id, $name, $value, $is_checked = false, $other_param = '', $other_after = '', $other_before = '')
 {
     return Form::getLineCheckbox('form_line_l', 'label_normal', $label_name, $id, $name, $value, $is_checked, $other_param, $other_after, $other_before);
 }