phpdoc for Admins-ApiCommand

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-03-26 10:13:51 +02:00
parent c98be3c04f
commit efb416ae7c
3 changed files with 157 additions and 11 deletions

View File

@@ -234,7 +234,7 @@ class Froxlor extends ApiCommand
$reflection = new \ReflectionClass($mod);
$_functions = $reflection->getMethods(\ReflectionMethod::IS_PUBLIC);
foreach ($_functions as $func) {
if ($func->class == $mod && $func->isPublic()) {
if ($func->class == $mod && $func->isPublic() && !$func->isStatic()) {
array_push($functions, array_merge(array(
'module' => $matches[1],
'function' => $func->name