<?php
/**
 * @package     Joomla.Platform
 * @subpackage  Form
 *
 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

defined('JPATH_PLATFORM') or die;

/**
 * Form Field class for the Joomla Platform.
 * Supports a one line text field.
 *
 * @package     Joomla.Platform
 * @subpackage  Form
 * @link        http://www.w3.org/TR/html-markup/input.text.html#input.text
 * @since       11.1
 */
class JFormFieldInit extends JFormField
{
	/**
	 * @var string
	 */
	protected $type = 'Init';

	/**
	 *
	 */
	public function __construct()
	{
		$doc = JFactory::getDocument();
		$doc->addStyleSheet(JURI::root() . 'plugins/system/rokbooster/assets/css/fields.css');
		$doc->addScript(JURI::root() . 'plugins/system/rokbooster/assets/js/RokBooster.js');
		$doc->addScript(JURI::root() . 'plugins/system/rokbooster/assets/js/Dropdowns.js');
		$doc->addScriptDeclaration("window.addEvent('domready', function() { new Dropdowns(); });");

	}

	/**
	 * @return mixed
	 */
	protected function getLabel()
	{
		return;
	}

	/**
	 * @return mixed
	 */
	protected function getInput()
	{
		return;
	}

}
