makeArgs.php
552 Bytes
<?php
/*
* Executable to make arguments lists for IMPEX
* Uses target.json
*/
require_once "../config.php";
if (!defined('SimuTargetsXml'))
exit('SimuTargetsXml is not defined in config.php'.PHP_EOL);
if (!function_exists('__autoload')) {
function __autoload($class_name) {
require_once $class_name . '.php';
}
}
$simuBases = array("LATMOS", "FMI_HYBRID", "FMI_GUMICS", "LESIA");
foreach ($simuBases as $class)
{
echo PHP_EOL.$class.PHP_EOL;
$center = new $class();
$center->makeArgumentsList();
}
?>