/*####
#
#	Name: PHx (Placeholders Xtended)
#	Version: 2.1.3
#	Author: Armand "bS" Pondman (apondman@zerobarrier.nl)
#	Date: July 13, 2007
#
####*/

include_once $modx->config['base_path'] . 'assets/plugins/phx/phx.parser.class.inc.php';
$e = &$modx->Event;
$PHx = new PHxParser($phxdebug,$phxmaxpass);
switch($e->name) {
	case 'OnParseDocument':
		$PHx->OnParseDocument();
		break;
}