====== Reference for Pandora FMS Development ======
{{indexmenu_n>1}}
We are working on the translation of the Pandora FMS documentation. Sorry for any inconvenience.
===== Development in Pandora FMS =====
==== Pandora FMS Code architecture ====
For a separate and detailed explanation about the Pandora FMS database structure go to the following article [[en:documentation:pandorafms:complex_environments_and_optimization:09_pandorafms_engineering#Database_Main_Tables|Pandora FMS Engineering]].
=== How to make compatible links ===
For all links you must use the ui_get_full_url function.
* How to use ui_get_full_url\\ Before the call you must include "functions_ui.php".
* You need the url for the refresh:\\ For example
$url_refresh = ui_get_full_url();
* You need the url for a relative path\\ For example
//Old method//
$url_refresh = ui_get_full_url();
//New method//
$url = ui_get_full_url("/relative/path/file_script.php");
* And in javascript? It is just as easy.\\ For example
//Old method//
* Special cases:
* For direct links to index.php it is not necessary to use this function.\\ For example
echo '