Location: PHPKode > projects > DIY Blog > diy-blog/classes/diy-blog/frontend/controller/forms/SearchForm.class.php
<?php

/**
 * Abstracts search request parameters.
 * @package diy-blog.frontend.controller.forms
 * @author	Martynas Jusevicius <hide@address.com>
 * @link	http://www.xml.lt
 */

class SearchForm extends Form
{
	private $search = null;
	
	public function __construct(Request $request)
	{
		$this->search = urldecode($request->getParameter("search"));
	}
	
	public function getSearch()
	{
		return $this->search;
	}

	public function validate()
	{
		return array();
	}
}

?>
Return current item: DIY Blog