Form.php
public function getHtml()
    {
        $html = '';

        if ($this->parserData->needJs()) {
            $html .= $this->getJs();
        }

        $k = 0;
        foreach ($this->parserData->getData() as $data) {
            if ($data instanceof Fields\FileField) {
                $data->getHtml(true);
            }
            $html .= (string)$data;
        }

        if ($html[strlen($html)-1] != "\n") {
            $html .= "\n";
        }

        return $html;
    }
public function getHtml()
    {
        $html = '';

        if ($this->parserData->needJs()) {
            $html .= $this->getJs();
        }

        $k = 0;
        foreach ($this->parserData->getData() as $data) {
            if ($data instanceof Fields\FileField) {
                $data->getHtml(true);
            }
            $html .= (string)$data;
        }

        if ($html[strlen($html)-1] != "\n") {
            $html .= "\n";
        }

        return $html;
    }
public function getHtml ( ) { $ html = '' ; if ( $ this -> parserData -> needJs ( ) ) { $ html .= $ this -> getJs ( ) ; } $ k = 0 ; foreach ( $ this -> parserData -> getData ( ) as $ data ) { if ( $ data instanceof Fields \ FileField ) { $ data -> getHtml ( true ) ; } $ html .= ( string ) $ data ; } if ( $ html [ strlen ( $ html ) - 1 ] != "\n" ) { $ html .= "\n" ; } return $ html ; }
Convert to HTML
Convert to HTML