protected function buildCheckBoxes() {
$html = '<table>';
// If there is just one item, use checkboxes
protected function buildCheckBoxes() {
$html = '<table>';
// If there is just one item, use checkboxes
$val = $this->getRequest()->getInt( $name, 0 /* unchecked */ );
if( $val < -1 || $val > 1) {
$val = -1; // -1 for existing value
$val = $this->getRequest()->getInt( $name, 0 /* unchecked */ );
if( $val < -1 || $val > 1) {
$val = -1; // -1 for existing value