protected function _getLabel($fieldName, $options)
{
if ($options['type'] === 'hidden') {
return false;
}
$label = null;
if (isset($options['label'])) {
$label = $options['label'];
}
if ($label === false && $options['type'] === 'checkbox') {
return $options['input'];
}
if ($label === false) {
return false;
}
return $this->_inputLabel($fieldName, $label, $options);
}