Phorm/Field/AlphaNum.class.php
/**
	 * Validates that the value is alpha or numeric only.
	 *
	 * @param string $value
	 * @return null
	 * @throws Phorm_ValidationError
	 */
Validates that the value is alpha or numeric only.

@param string $value
@return null
@throws Phorm_ValidationError
Validates that the value is alpha or numeric only . @param string $value @return null @throws Phorm_ValidationError
public function validate($value)
	{
		$value = parent::validate($value);
		if( !preg_match('/^\S+$/iu', $value) )
		{
			throw new Phorm_ValidationError('field_invalid_alphanum');
		}
	}
public function validate ( $ value ) { $ value = parent :: validate ( $ value ) ; if ( ! preg_match ( '/^\S+$/iu' , $ value ) ) { throw new Phorm_ValidationError ( 'field_invalid_alphanum' ) ; } }
Validates that the value is alpha or numeric only.
Validates that the value is alpha or numeric only .