PHP Classes

File: src/Renderer/FormRendererInterface.php

Recommend this page to a friend!
  Classes of Derek McLean   HTML Forms   src/Renderer/FormRendererInterface.php   Download  
File: src/Renderer/FormRendererInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: HTML Forms
Generate and validate submitted HTML forms
Author: By
Last change:
Date: 6 years ago
Size: 500 bytes
 

Contents

Class file image Download
<?php
/**
 * User: delboy1978uk
 * Date: 07/12/2016
 * Time: 01:50
 */

namespace Del\Form\Renderer;

use
Del\Form\FormInterface;
use
DOMElement;

interface
FormRendererInterface
{
   
/**
     * @param FormInterface $form
     * @return string of HTML
     */
   
public function render(FormInterface $form, $displayErrors = true);

   
/**
     * @return DOMElement
     */
   
public function renderFieldLabel();

   
/**
     * @return DOMElement
     */
   
public function renderFieldBlock();
}