

Public Member Functions | |
| ModuleInfoXml ($name) | |
| _ProcessXml () | |
| _ProcessXmlChildren ($tree) | |
| _ProcessXmlPermissions ($tree) | |
| _ProcessXmlConfig ($tree) | |
| getName () | |
| getVersion () | |
| getScreenNames () | |
| getPermissions () | |
| getConfig () | |
| getImplements () | |
| Implements ($string) | |
| getRequires () | |
| Requires ($string) | |
| getSql () | |
Public Attributes | |
| $filename | |
| The XML file name. | |
| $parser | |
| The XML parser. | |
| $name | |
| The name of the module. | |
| $version | |
| The version of the module. | |
| $screenname | |
| The screen name of the module. | |
| $permissions | |
| An object with the permissions of the module. | |
| $config | |
| An object with the config info the module. | |
| $what_implements | |
| Array with the interfaces that the module implements. | |
| $what_requires | |
| Array with the interfaces that the module requires. | |
| $sql | |
| An SQL query to create the tables. | |
Definition at line 24 of file ModuleInfoXml.class.php.
|
|
Receives the name of the XML, parses it and extracts the concrete information
Definition at line 44 of file ModuleInfoXml.class.php. References $name, and JSystem::IsError(). |
|
|
Parses the XML file using the xml expat in PHP
Definition at line 60 of file ModuleInfoXml.class.php. References ERROR_NO_NAME. |
|
|
Process the children of the xml tree.
Definition at line 78 of file ModuleInfoXml.class.php. |
|
|
Process the config information given its tree.
Definition at line 134 of file ModuleInfoXml.class.php. |
|
|
Process the permissions given the permissions tree.
Definition at line 118 of file ModuleInfoXml.class.php. |
|
|
Gets the array with all confi information of the module
Reimplemented from IModuleInfo. Definition at line 187 of file ModuleInfoXml.class.php. |
|
|
Gets the array with the interfaces that implements the module
Reimplemented from IModuleInfo. Definition at line 196 of file ModuleInfoXml.class.php. |
|
|
Gets the name of the module
Reimplemented from IModuleInfo. Definition at line 150 of file ModuleInfoXml.class.php. |
|
|
Gets the array with all permissions of the module
Reimplemented from IModuleInfo. Definition at line 178 of file ModuleInfoXml.class.php. |
|
|
Gets the array with the interfaces that requires the module
Reimplemented from IModuleInfo. Definition at line 215 of file ModuleInfoXml.class.php. |
|
|
Gets the array with all the screen names of the module (in several languages)
Reimplemented from IModuleInfo. Definition at line 169 of file ModuleInfoXml.class.php. |
|
|
Gets the array with the sql queries needed by the module
Reimplemented from IModuleInfo. Definition at line 234 of file ModuleInfoXml.class.php. |
|
|
Gets the version of the module
Reimplemented from IModuleInfo. Definition at line 159 of file ModuleInfoXml.class.php. |
|
|
Checks if the module implements a concrete interface
Reimplemented from IModuleInfo. Definition at line 206 of file ModuleInfoXml.class.php. |
|
|
Checks if the module requires a concrete interface
Reimplemented from IModuleInfo. Definition at line 225 of file ModuleInfoXml.class.php. |
|
|
An object with the config info the module.
Definition at line 34 of file ModuleInfoXml.class.php. |
|
|
The XML file name.
Definition at line 26 of file ModuleInfoXml.class.php. |
|
|
The name of the module.
Definition at line 30 of file ModuleInfoXml.class.php. Referenced by ModuleInfoXml(). |
|
|
The XML parser.
Definition at line 28 of file ModuleInfoXml.class.php. |
|
|
An object with the permissions of the module.
Definition at line 33 of file ModuleInfoXml.class.php. |
|
|
The screen name of the module.
Definition at line 32 of file ModuleInfoXml.class.php. |
|
|
An SQL query to create the tables.
Definition at line 37 of file ModuleInfoXml.class.php. |
|
|
The version of the module.
Definition at line 31 of file ModuleInfoXml.class.php. |
|
|
Array with the interfaces that the module implements.
Definition at line 35 of file ModuleInfoXml.class.php. |
|
|
Array with the interfaces that the module requires.
Definition at line 36 of file ModuleInfoXml.class.php. |
1.3.4