<commit_before><commit_msg>New random ID input helper.<commit_after><?php defined('BASEPATH') or exit('No direct script access allowed');

/**
 * Random ID Input Helper
 *
 * Generates a hidden random ID.
 *
 * @package		Formojo
 * @author		Addict Add-ons Dev Team
 * @copyright	Copyright (c) 2011, Addict Add-ons
 */
class Input_random_id
{
	var $label 				= 'Random ID';
	
	// --------------------------------------------------------------------------
	
	/**
	 * Output form input
	 *
	 * @param	string
	 * @param	string
	 * @return	string
	 */
	function form_output($name, $value = '')
	{	
		return form_hidden($name, mt_rand());
	}

}

/* End of file input.random_id.php */
{'fraction_non_alphanumeric': 0.23338257016248154, 'fraction_numerical': 0.005908419497784343, 'mean_word_length': 2.138888888888889, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3387751', 'n_tokens_mistral': 221, 'n_tokens_neox': 204, 'n_words': 59}