$args = func_get_args();
array_shift ($args);
$temp = func_get_args();
array_shift($temp);
$args = array();
foreach ($temp as $k => $v)
{
$args[] = &$temp[$k];
}
http://forum.joomla.org/results.php?cx=007628682600509520926%3Ahigrppcfurc&cof=FORID%3A9&q=libraries%2Fjoomla%2Fevent%2Fevent.php&siteurl=forum.joomla.org%2Fviewtopic.php%3Fp%3D2167487&ref=www.google.com.vn%2F&ss=5570j6551688j14