original_string: function toHtml()
      {
          $this->_generateId(); // Seems to be necessary when this is used in a group.
          if (0 == strlen($this->_text)) {
              $label = '';
          } elseif ($this->_flagFrozen) {
              $label = $this->_text;
          } else {
              $label = '<label for="' . $this->getAttribute('id') . '">' . $this->_text . '</label>';
          }
          return HTML_QuickForm_input::toHtml() . $label;
      }
code: function toHtml()
      {
          $this->_generateId(); // Seems to be necessary when this is used in a group.
          if (0 == strlen($this->_text)) {
              $label = '';
          } elseif ($this->_flagFrozen) {
              $label = $this->_text;
          } else {
              $label = '<label for="' . $this->getAttribute('id') . '">' . $this->_text . '</label>';
          }
          return HTML_QuickForm_input::toHtml() . $label;
      }
code_tokens: function toHtml ( ) { $ this -> _generateId ( ) ; // Seems to be necessary when this is used in a group. if ( 0 == strlen ( $ this -> _text ) ) { $ label = '' ; } elseif ( $ this -> _flagFrozen ) { $ label = $ this -> _text ; } else { $ label = '<label for="' . $ this -> getAttribute ( 'id' ) . '">' . $ this -> _text . '</label>' ; } return HTML_QuickForm_input :: toHtml ( ) . $ label ; }
docstring: Returns the checkbox element in HTML
  
  @since     1.0
  @access    public
  @return    string
docstring_tokens: Returns the checkbox element in HTML