original_string: public function toHtmlInternal($value = null)
      {
          $strSelected = "";
          if ($this->__selected && is_null($value)) {
              $strSelected = " selected=\"selected\"";
          }
  
          if ($value == $this->__value) {
              $strSelected = " selected=\"selected\"";
          }
  
          $strOutput = "<option value=\"{$this->__value}\"{$strSelected} {$this->__getMetaString()}>{$this->__label}</option>\n";
  
          return $strOutput;
      }
code: public function toHtmlInternal($value = null)
      {
          $strSelected = "";
          if ($this->__selected && is_null($value)) {
              $strSelected = " selected=\"selected\"";
          }
  
          if ($value == $this->__value) {
              $strSelected = " selected=\"selected\"";
          }
  
          $strOutput = "<option value=\"{$this->__value}\"{$strSelected} {$this->__getMetaString()}>{$this->__label}</option>\n";
  
          return $strOutput;
      }
code_tokens: public function toHtmlInternal ( $ value = null ) { $ strSelected = "" ; if ( $ this -> __selected && is_null ( $ value ) ) { $ strSelected = " selected=\"selected\"" ; } if ( $ value == $ this -> __value ) { $ strSelected = " selected=\"selected\"" ; } $ strOutput = "<option value=\"{$this->__value}\"{$strSelected} {$this->__getMetaString()}>{$this->__label}</option>\n" ; return $ strOutput ; }
docstring: Generate HTMl output
  
  See {@link \ValidFormBuilder\Element::toHtml()}
  
  @see \ValidFormBuilder\Element::toHtml()
docstring_tokens: Generate HTMl output