I think this should solve your problem...
foreach (get_class_methods($c) as $key => $val)
{
/* Get a reflection object for the class method */
$reflect = new ReflectionMethod($c, $val);
/* For private, use isPrivate(). For protected, use isProtected() */...