Location: PHPKode > projects > DIY Blog > diy-blog/classes/diy-blog/model/FrontEndResource.php
<?php

require_once 'diy-blog/model/om/BaseFrontEndResource.php';

/**
 * A parent frontend Resource, inherited by the specific ones.
 * Originally generated by Propel.
 *
 * @package	diy-blog.model
 * @author	Martynas Jusevicius <hide@address.com>
 * @link	http://www.xml.lt
 */

class FrontEndResource extends BaseFrontEndResource
{

	public function doGet(Request $request, Response $response)
	{
		$view = parent::doGet($request, $response);

		if ($request->getParameter("search") != null) $view = new SearchView($this);

		return $view;
	}

	public function doPost(Request $request, Response $response)
	{
		$view = parent::doPost($request, $response);

		return $view;
	}

} // FrontEndResource
Return current item: DIY Blog