protected function _requestFactory($request)
	{
		$class = 'QuickBooks_WebConnector_Request_' . ucfirst(strtolower($request));
		$file = '/QuickBooks/WebConnector/Request/' . ucfirst(strtolower($request)) . '.php';
		
		// Make sure that class gets loaded
		QuickBooks_Loader::load($file, false);
		
		if (class_exists($class))
		{
			return new $class();
		}
		
		return false;
	}
protected function _requestFactory($request)
	{
		$class = 'QuickBooks_WebConnector_Request_' . ucfirst(strtolower($request));
		$file = '/QuickBooks/WebConnector/Request/' . ucfirst(strtolower($request)) . '.php';
		
		// Make sure that class gets loaded
		QuickBooks_Loader::load($file, false);
		
		if (class_exists($class))
		{
			return new $class();
		}
		
		return false;
	}
protected function _requestFactory ( $ request ) { $ class = 'QuickBooks_WebConnector_Request_' . ucfirst ( strtolower ( $ request ) ) ; $ file = '/QuickBooks/WebConnector/Request/' . ucfirst ( strtolower ( $ request ) ) . '.php' ; // Make sure that class gets loaded QuickBooks_Loader :: load ( $ file , false ) ; if ( class_exists ( $ class ) ) { return new $ class ( ) ; } return false ; }
Create an instance of a request type object

@param string $request
@return QuickBooks_Request
Create an instance of a request type object