<?php

/**
 * Performs duplicate id check in DOM tree on AJAX calls
 *
 * @version DR1.7
 */
class DuplicateIdGuard implements InterceptingFilter {



	public function preProcess(RequestContext $request, ResponseContext $response) {

	}



	/**
	 * Adds duplicate id verification procedure to response
	 */
	public function postProcess(RequestContext $request, ResponseContext $response) {
		$response->checkDuplicateId();
	}



} // class DuplicateIdGuard

?>