Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

ModuleInfo Class Reference

List of all members.

Public Member Functions

GetInformation ($type, $extra)

Detailed Description

It is a static class which is a factory for concrete ModuleInfo classes that deals with the different formats of information files: classic PHP, XML or whatever.

Usage: $info = ModuleInfo::getInformation("file", "config.xml"); $info->getName(); $snenesp= I18N::Language($info->getScreenName(), "es");

Definition at line 17 of file ModuleInfo.class.php.


Member Function Documentation

& ModuleInfo::GetInformation type,
extra
 

Static. It returns a new ModuleInfo class with the apropiated extractor instantiated.

Parameters:
type By now, it just can be "file". It identifies the type of source of the information it is going to be used
extra It is an extra information from where it is going to be extracted the one of the module. It has different meanings depending on "type":
  • type = "file": It is the name of the file which will be used as source. The factory is able to determine the kind of the config file (XML or PHP) and returns the adequated class to manage it.

Definition at line 32 of file ModuleInfo.class.php.

Referenced by Module::GetInformation().


The documentation for this class was generated from the following file:
Generated on Wed Nov 19 20:29:41 2003 for James by doxygen 1.3.4