johnhamelink
7/16/2012 - 2:49 PM

new_staff.php

	$type       = str_replace("_"," ",$type);
	$type       = \Entity\Researchtypes::getMatch($type);
	$structure  = \Entity\Researchtypes::getStructure($type);
	print_r($structure);
	die();
	$rules      = \Entity\Researchtypes::getValidation($structure);
	print_r($rules);
	die();
	$validation = Validator::make(Input::all(), $rules);