Location: PHPKode > projects > DIY Blog > diy-blog/lib/diy-framework/classes/diy-framework/controller/Form.class.php
<?php

/**
 * Abstract class for sub-classing. Used to represent data submitted from a HTML form and access the Request parameters in a convenient way.
 * @package diy-framework
 * @subpackage	controller
 * @author		Martynas Jusevicius <hide@address.com>
 * @link		http://www.xml.lt
 */

abstract class Form
{
	//protected $request = null;


/**
 * Constructs Form from Request.
 */

	public abstract function __construct(Request $request);

/**
 * Validates this form and returns array of errors.
 * @return array An array of Errors
 */

	public abstract function validate();

}

?>
Return current item: DIY Blog