lib/Fuel/Validation/RuleProvider/ModelProvider.php
public static function populateValidator(Validator $validator)
	{
		if (static::$provider === null)
		{
			static::setProvider(new FromArray(true, 'validation'));
		}

		return static::$provider->populateValidator($validator);
	}
public static function populateValidator(Validator $validator)
	{
		if (static::$provider === null)
		{
			static::setProvider(new FromArray(true, 'validation'));
		}

		return static::$provider->populateValidator($validator);
	}
public static function populateValidator ( Validator $ validator ) { if ( static :: $ provider === null ) { static :: setProvider ( new FromArray ( true , 'validation' ) ) ; } return static :: $ provider -> populateValidator ( $ validator ) ; }
Populates the given validator with the needed rules

@param Validator $validator

@return Validator
Populates the given validator with the needed rules