_getInfo($name, $value, $attribs); extract($info); // name, value, attribs, options, listsep, disable, escape // build the element if ($disable) { // disabled; display nothing return ''; } $value = ($escape) ? $this->view->escape($value) : $value; $for = (empty($attribs['disableFor']) || !$attribs['disableFor']) ? ' for="' . $this->view->escape($id) . '"' : ''; if (array_key_exists('disableFor', $attribs)) { unset($attribs['disableFor']); } // enabled; display label $xhtml = '_htmlAttribs($attribs) . '>' . $value . ''; return $xhtml; } }