Location: PHPKode > scripts > PHP Form Builder Class > pfbc3.1-php5/PFBC/ErrorView.php
<?php
abstract class ErrorView extends Base {
	protected $_form;

	public function __construct(array $properties = null) {
		$this->configure($properties);
	}

	public abstract function applyAjaxErrorResponse();

	public function clear() {
		echo 'jQuery("#', $this->_form->getAttribute("id"), ' .alert-error").remove();';
	}

	public abstract function render();
	public abstract function renderAjaxErrorResponse();

	public function renderCSS() {}

	public function _setForm(Form $form) {
		$this->_form = $form;
	}
}
Return current item: PHP Form Builder Class