Location: PHPKode > scripts > PHP Xforms > php-xforms/PhpXforms/SuccessProcessor.php
<?php

/**
 * Class PhpXforms_SuccessProcessor
 *
 * @todo refactor PhpXforms_ExceptionHandler and PhpXforms_SuccessProcessor to
 * remove code duplication (introduce PhpXforms_ErrorList ??? )
 *
 * $Id$
 */

require_once dirname(__FILE__) . '/ErrorList.php';

class PhpXforms_SuccessProcessor {

	/**
	 * @var PhpXforms_ErrorList
	 */
	protected $_errorList;

	/**
	 * @param string $encoding
	 */
	function __construct($encoding = null)
	{
		$this->_errorList = new PhpXforms_ErrorList($encoding);
	}

	/**
	 * Display empty error list
	 *
	 * @param Exception $e
	 */
	function emptyErrorList()
	{
		$this->_errorList->toXml();
	}
}
Return current item: PHP Xforms