added Mysqls.add

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-02-24 12:13:47 +01:00
parent b5ebe48715
commit d2aaf84eff
2 changed files with 211 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ foreach ($m_arr as $module) {
// set necessary data
$output_arr[$module['module']][$module['function']] = array(
'return_type' => (isset($module['return']['type']) && $module['return']['type'] != "" ? $module['return']['type'] : - 1),
'return_desc' => (isset($module['return']['desc']) && $module['return']['desc'] != "" ? $module['return']['desc'] : - 1),
'params_list' => array(),
'head' => $module['head'],
'access' => isset($module['access']) ? $module['access'] : null
@@ -126,7 +127,7 @@ foreach ($output_arr as $module => $functions) {
$parms .= "</tbody></table>";
$apihelp .= $parms;
}
$apihelp .= "<br><b>Returns</b> " . ($funcdata['return_type'] == - 1 ? "<span class=\"red\">no-return-type</span>" : $funcdata['return_type']);
$apihelp .= "<br><b>Returns</b> " . ($funcdata['return_type'] == - 1 ? "<span class=\"red\">no-return-type</span>" : $funcdata['return_type']) . ($funcdata['return_desc'] == - 1 ? "" : " ".$funcdata['return_desc']);
$apihelp .= "</div><br>";
}
}