The system's constants are in 'ModelClass.php'. Most of this constants have a default
value that you don't have to change if you don't want.
We recommend to change:
There are a web interface in 'configTables.php' to define the parameters to create the tables. We recommend to use default values (simply click on GO!). If you don't want to write your data base parameters in 'ModelClass.php', you can also fixe it in this page.
There are another web interface in 'schemeHandler.php' to define the structure. You can build the structure
creating children nodes, brothers... you only need to activate 'Modo edición' checkbox and click in 'Actualizar'.
Now you can add a new node, or delete existing nodes.
With this interface you can also save the data into a xml clicking on 'Guardar XML' button. A new file called
'esquema.xml' will be created in the directory where this file is located.
You can load a XML clicking on 'Cargar XML' button.
The main class 'Model' is in 'ModelClass.php' file. You need to include it in your php files and build a new 'Model' object. This object will have all functions you will need to manage the data model (to insert elements, to set values, to build new nodes in structure...). See 'ModelClass.php' documentation to learn to use functions.
Documentation generated by phpDocumentor 1.4.3
Modified by Sergio Barja for S2 - Hierarchical Data Model documentation.