ModelClass.php - S2 Hierarchical Data Model It provides the tools to build hierarchical and dynamic structures and to manage data that is stored in a static structure of tables on a database.
Proporciona las herramientas necesarias para construir estructuras jerárquicas y dinámicas de datos que se almacenan en una estructura estática de tablas sobre una base de datos.
| Class | Description |
|---|---|
| Model | This class contains the functions to manage the data model based in Nested Set Model. This file contains the constants to config the model. |
| TablesParameters | This class is for use with function initializateDB. |
DATA_TABLENAME: Defines the name of the data table.
Default Data Base Host (for web interface)
Default Data Base Name (for web interface)
Default Data Base Password (for web interface)
Default Data Base User (for web interface)
ELEMENTS_NAME_REGEX: Regular expression to validate the name of the elements.
ELEMENTS_TABLENAME: Defines the name of the elements table.
ELEMENT_NODES_TYPE_NAME: Defines the name of the elements nodes (and relations).
ID_SEPARATOR: Character used to separate type and id of an element.
INTERNAL_NODES_TYPE_NAME: Defines the name of the internal nodes.
NODES_NAME_REGEX: Regular expression to validate the name of the nodes.
PREFIX: Defines the prefix for the tables.
ROOT_NAME: Defines the name of the internal root.
SEPARATOR: Character used to separate levels of a path.
STRUCT_TABLENAME: Defines the name of the structure table.
VALUE_TYPES: Defines the data types allowed.
Documentation generated by phpDocumentor 1.4.3
Modified by Sergio Barja for S2 - Hierarchical Data Model documentation.