break;
}
}
- echo '<PRE>';print_R($opts);//exit;
+ //echo '<PRE>';print_R($opts);//exit;
// var_dump($opts);exit;
// self::$cfg[$k] = $i->availableCodes($k, false);
continue;
}
- echo "$k / "; //print_R($v);
+
self::$cfg[$k] = is_array($v) ? $v : explode(',', $v);
}
- // available codes recursively calls this...
+ // available codes recursively calls this... -- so the above has to be set first..
foreach($opts as $k=>$v) {
if ($v == '*') { // everything..
}
- print_R(self::$cfg);exit;
-
- die('here');
-
return self::$cfg;