<?php
/**
 * ------------------------------------------------------------------------
 * JA Google Chart 2 Module for J25 & J34
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites: http://www.joomlart.com - http://www.joomlancers.com
 * ------------------------------------------------------------------------
 */

defined('JPATH_PLATFORM') or die;

JFormHelper::loadFieldClass('list');

/**
 * Form Field class for the Joomla Platform.
 * Supports an HTML select list of categories
 *
 * @package     Joomla.Platform
 * @subpackage  Form
 * @since       11.1
 */
class JFormFieldFontface extends JFormFieldList
{
	/**
	 * The form field type.
	 *
	 * @var    string
	 * @since  11.1
	 */
	public $type = 'Category';
	
	protected function getOptions()
	{
		$options = array();
		$options[] = JHtml::_('select.option', 'arial', 'Arial');
		$options[] = JHtml::_('select.option', 'sans', 'SansSerif');
		$options[] = JHtml::_('select.option', 'serif', 'Serif');
		$options[] = JHtml::_('select.option', 'wide', 'Wide');
		$options[] = JHtml::_('select.option', 'narrow', 'Narrow');
		$options[] = JHtml::_('select.option', 'comic', 'Comic Sans MS');
		$options[] = JHtml::_('select.option', 'courier', 'Courier New');
		$options[] = JHtml::_('select.option', 'garamond', 'Garamond');
		$options[] = JHtml::_('select.option', 'georgia', 'Georgia');
		$options[] = JHtml::_('select.option', 'tahoma', 'Tahoma');
		$options[] = JHtml::_('select.option', 'verdana', 'Verdana');
		
		// Merge any additional options in the XML definition.
		$options = array_merge(parent::getOptions(), $options);
		
		return $options;
	}
}