49 function invoke($hname, $hparam = array(), $hclass = null) {
53 if (is_null($hclass)) {
56 if (is_array($hclass)) {
69 if ( method_exists($$c, $hname) ) {
71 $val[
$c]=call_user_func_array(array($$c,$hname), $hparam);
90 if (is_file($scripts)) {
91 if (is_executable($script)) {
92 $to_launch[]=$scripts;
94 }
else if (is_dir($scripts)) {
95 foreach ( scandir($scripts) as $ccc ) {
96 if (is_file($ccc) && is_executable($ccc)) {
110 foreach($to_launch as $fi) {
111 system($fi.
" ".$params);