<?php
/**
 * @version    $Id$
* @package    IT_Theme_Framework
* @author     InnoThemes Team <support@innothemes.com>
* @copyright  Copyright (C) 2012 InnoThemes.com. All Rights Reserved.
* @license    GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
* Websites: http://www.innothemes.com
*/

/**
 * Form state field renderer.
*
* @package  IT_Theme_Framework
* @since    1.0.0
*/
class IT_Form_Field_Form_State extends IT_Form_Field {
	/**
	 * Field type.
	 *
	 * @var  string
	 */
	protected $type = 'form-state';

	/**
	 * Available choices.
	 *
	 * @var  array
	 */
	protected $choices = array( '1' => 'Enable', '0' => 'Disable' );

	/**
	 * Default form state.
	 *
	 * @var  string
	 */
	protected $default = 'enable';

	/**
	 * Whether to use one or two seperated buttons to switch form state.
	 *
	 * @var  integer
	 */
	protected $visible_button = 2;
}
