Location: PHPKode > scripts > Combo Validation > combo-validation/validation.class.inc.php
<?php
/**
 *  Builder class
 * 
 * @version hide@address.com
 * @package ComboValidation
*/
/**
* @package ComboValidation
*/
class cmfcValidation {
	function factory($name,$options) {
		if ($name=='beta' or $name=='v1' or $name=='version1') {
			require_once(dirname(__FILE__).'/lib/common.inc.php');
			require_once(dirname(__FILE__).'/lib/compatibility.inc.php');
			require_once(dirname(__FILE__).'/lib/error.class.inc.php');
			require_once(dirname(__FILE__).'/lib/classesCore.class.inc.php');

			require_once('validationV1.class.inc.php');
			return new cmfcValidationV1($options);
		}
	}
}
Return current item: Combo Validation