<?php
/**
* @package RSForm! Pro
* @copyright (C) 2007-2015 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/

defined('_JEXEC') or die;

require_once JPATH_ADMINISTRATOR . '/components/com_rsform/helpers/fields/multipleproducts.php';

class RSFormProFieldResponsiveMultipleproducts extends RSFormProFieldMultipleproducts
{
	protected function getRadioInput($config)
	{
		require_once JPATH_ADMINISTRATOR . '/components/com_rsform/helpers/fields/responsive/radiogroup.php';

		$field = new RSFormProFieldResponsiveRadioGroup($config);

		$field->setId('payment-' . $this->componentId);

		return $field->output;
	}

	protected function getCheckboxInput($config)
	{
		require_once JPATH_ADMINISTRATOR . '/components/com_rsform/helpers/fields/responsive/checkboxgroup.php';

		$field = new RSFormProFieldResponsiveCheckboxGroup($config);

		$field->setId('payment-' . $this->componentId);

		return $field->output;
	}
}