
 aldwin - 2013-10-11 05:39:20
Thanks for this working class Rubens! Just what I needed! A simple class to input a function and get an html list. I've search StackOverflow and most of the code there still has some tweaking to do.  Yours did the job as is.
I modified the line:
if (is_array($sublist))
   $return .= self::print_list_recursion($sublist);
to 
if (is_array($sublist)) {
   $return .= self::print_list_recursion($sublist);
}
else {
   $return .= '=> '.$sublist;
}	 
to input the values for non-array types.