diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 188e756630..5e502a690e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-08-10 Sergio Martin + + * include/functions_api.php: Add the missed function api_get_graph_module_data + and update it to work with last graph system + 2012-08-09 Sergio Martin * include/functions_modules.php diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index d28b30d540..f87e3d4ebc 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -23,6 +23,7 @@ require_once('functions_modules.php'); include_once($config['homedir'] . "/include/functions_profile.php"); include_once($config['homedir'] . "/include/functions.php"); include_once($config['homedir'] . "/include/functions_ui.php"); +include_once($config['homedir'] . "/include/functions_graph.php"); include_once($config['homedir'] . "/include/functions_events.php"); include_once($config['homedir'] . "/include/functions_groups.php"); include_once($config['homedir'] . "/include/functions_network_components.php"); @@ -3762,6 +3763,54 @@ function api_get_module_data($id, $thrash1, $other, $returnType) { returnData('csv', $data, $separator); } +/** + * Return a image file of sparse graph of module data in a period time. + * + * @param integer $id id of a module data. + * @param $thrash1 Don't use. + * @param array $other it's array, $other as param is ;;;