original_string: public function toHtml($submitted = false, $blnSimpleLayout = false, $blnLabel = true, $blnDisplayError = true)
      {
          // Call this before __getMetaString();
          $this->setConditionalMeta();
  
          $this->setMeta("class", "vf__paragraph");
  
          $strOutput = "<div{$this->__getMetaString()}>\n";
  
          // Add header if not empty.
          if (! empty($this->__header)) {
              $strOutput .= "<h3{$this->__getLabelMetaString()}>{$this->__header}</h3>\n";
          }
  
          if (! empty($this->__body)) {
              if (preg_match("/<p.*?>/", $this->__body) > 0) {
                  $strOutput .= "{$this->__body}\n";
              } else {
                  $strOutput .= "<p{$this->__getFieldMetaString()}>{$this->__body}</p>\n";
              }
          }
  
          $strOutput .= "</div>\n";
  
          return $strOutput;
      }
code: public function toHtml($submitted = false, $blnSimpleLayout = false, $blnLabel = true, $blnDisplayError = true)
      {
          // Call this before __getMetaString();
          $this->setConditionalMeta();
  
          $this->setMeta("class", "vf__paragraph");
  
          $strOutput = "<div{$this->__getMetaString()}>\n";
  
          // Add header if not empty.
          if (! empty($this->__header)) {
              $strOutput .= "<h3{$this->__getLabelMetaString()}>{$this->__header}</h3>\n";
          }
  
          if (! empty($this->__body)) {
              if (preg_match("/<p.*?>/", $this->__body) > 0) {
                  $strOutput .= "{$this->__body}\n";
              } else {
                  $strOutput .= "<p{$this->__getFieldMetaString()}>{$this->__body}</p>\n";
              }
          }
  
          $strOutput .= "</div>\n";
  
          return $strOutput;
      }
code_tokens: public function toHtml ( $ submitted = false , $ blnSimpleLayout = false , $ blnLabel = true , $ blnDisplayError = true ) { // Call this before __getMetaString(); $ this -> setConditionalMeta ( ) ; $ this -> setMeta ( "class" , "vf__paragraph" ) ; $ strOutput = "<div{$this->__getMetaString()}>\n" ; // Add header if not empty. if ( ! empty ( $ this -> __header ) ) { $ strOutput .= "<h3{$this->__getLabelMetaString()}>{$this->__header}</h3>\n" ; } if ( ! empty ( $ this -> __body ) ) { if ( preg_match ( "/<p.*?>/" , $ this -> __body ) > 0 ) { $ strOutput .= "{$this->__body}\n" ; } else { $ strOutput .= "<p{$this->__getFieldMetaString()}>{$this->__body}</p>\n" ; } } $ strOutput .= "</div>\n" ; return $ strOutput ; }
docstring: Render paragraph HTML
  
  See {@link \ValidFormBuilder\Base::toHtml()}
  
  @param boolean $submitted
  @param boolean $blnSimpleLayout
  @param boolean $blnLabel
  @param boolean $blnDisplayError
  @return string Generated Html
docstring_tokens: Render paragraph HTML