Example #1
0
 function checkboxList($arr, $tag_name, $tag_attribs, $key = 'value', $text = 'text', $selected = NULL, $required = 0)
 {
     return "\n\t" . implode("\n\t", vmCommonHTML::checkboxListArr($arr, $tag_name, $tag_attribs, $key, $text, $selected, $required)) . "\n";
 }
Example #2
0
 function checkboxListTable($arr, $tag_name, $tag_attribs, $key = 'value', $text = 'text', $selected = null, $cols = 0, $rows = 0, $size = 0, $required = 0)
 {
     $cellsHtml = vmCommonHTML::checkboxListArr($arr, $tag_name, $tag_attribs, $key, $text, $selected, $required);
     return vmCommonHTML::list2Table($cellsHtml, $cols, $rows, $size);
 }