<?php

/**
 * Composite validator with failed view focusing
 * 
 * @version DR1.7
 */
class FocusCompositeValidator extends CompositeValidator {



	/**
	 * Adds a Validator to composite and wraps it with FocusValidatorDecorator
	 * 
	 * @param Validator
	 */
	public function add(Validator $v) {
		$this->validators[] = new FocusValidatorDecorator($v);
	}



} // FocusCompositeValidator

?>