<commit_before><?php

/**
 * MultipleFileUpload (https://github.com/jkuchar/MultipleFileUpload/)
 *
 * Copyright (c) 2013 <NAME> (http://www.jankuchar.cz)
 *
 * For the full copyright and license information, please view
 * the file license.txt that was distributed with this source code.
 */

namespace MultipleFileUpload;

use Nette\Environment;
use Nette\Utils\Html;

use Nette\Forms;

use Nette\InvalidStateException;
use Nette\NotSupportedException;


class MultipleFileUpload extends Forms\Controls\UploadControl {

	const NAME = "Multiple File Uploader";
	const VERSION = 'Unknown';

	/**
	 * Is files handle uploads called?
	 * @var bool
	 * @see self::handleUploads()
	 */
	private static $handleUploadsCalled = false;

	/**
	 * Model
	 * @var Model\IQueues
	 * @see self::init()
	 */
	protected static $queuesModel;

	/**
	 * Validate file callback
	 * @var Callback
	 * @return bool
	 * @param \Nette\Http\FileUpload File to be checked
	 */
	public static $validateFileCallback;

	/**
	 * Interface registrator instance
	 * @var UI\Registrator<commit_msg>- removed unused constants (closes #22)<commit_after><?php

/**
 * MultipleFileUpload (https://github.com/jkuchar/MultipleFileUpload/)
 *
 * Copyright (c) 2013 <NAME> (http://www.jankuchar.cz)
 *
 * For the full copyright and license information, please view
 * the file license.txt that was distributed with this source code.
 */

namespace MultipleFileUpload;

use Nette\Environment;
use Nette\Utils\Html;

use Nette\Forms;

use Nette\InvalidStateException;
use Nette\NotSupportedException;


class MultipleFileUpload extends Forms\Controls\UploadControl {

	/**
	 * Is files handle uploads called?
	 * @var bool
	 * @see self::handleUploads()
	 */
	private static $handleUploadsCalled = false;

	/**
	 * Model
	 * @var Model\IQueues
	 * @see self::init()
	 */
	protected static $queuesModel;

	/**
	 * Validate file callback
	 * @var Callback
	 * @return bool
	 * @param \Nette\Http\FileUpload File to be checked
	 */
	public static $validateFileCallback;

	/**
	 * Interface registrator instance
	 * @var UI\Registrator
{'fraction_non_alphanumeric': 0.11393011010052657, 'fraction_numerical': 0.004786979415988511, 'mean_word_length': 3.9292452830188678, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '119390', 'n_tokens_mistral': 670, 'n_tokens_neox': 613, 'n_words': 182}