com.caucho.quercus.module
Class ModuleInfo

java.lang.Object
  extended by com.caucho.quercus.module.ModuleInfo

public class ModuleInfo
extends java.lang.Object

Class-loader specific context for loaded PHP.


Constructor Summary
ModuleInfo(ModuleContext context, java.lang.String name, QuercusModule module)
          Constructor.
 
Method Summary
 void addExtensionClass(java.lang.String name)
           
 Value getConstant(StringValue name)
          Returns a named constant.
 java.util.HashMap<StringValue,Value> getConstMap()
           
 java.util.HashMap<java.lang.String,AbstractFunction> getFunctions()
          Returns the functions.
 IniDefinitions getIniDefinitions()
           
 java.util.HashSet<java.lang.String> getLoadedExtensions()
          Returns true if an extension is loaded.
 QuercusModule getModule()
           
 java.lang.String getName()
           
 java.util.HashMap<StringValue,Value> getUnicodeConstMap()
           
static Value objectToValue(java.lang.Object obj)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleInfo

public ModuleInfo(ModuleContext context,
                  java.lang.String name,
                  QuercusModule module)
           throws ConfigException
Constructor.

Throws:
ConfigException
Method Detail

getName

public java.lang.String getName()

addExtensionClass

public void addExtensionClass(java.lang.String name)

getModule

public QuercusModule getModule()

getLoadedExtensions

public java.util.HashSet<java.lang.String> getLoadedExtensions()
Returns true if an extension is loaded.


getConstMap

public java.util.HashMap<StringValue,Value> getConstMap()

getUnicodeConstMap

public java.util.HashMap<StringValue,Value> getUnicodeConstMap()

getConstant

public Value getConstant(StringValue name)
Returns a named constant.


getFunctions

public java.util.HashMap<java.lang.String,AbstractFunction> getFunctions()
Returns the functions.


getIniDefinitions

public IniDefinitions getIniDefinitions()

objectToValue

public static Value objectToValue(java.lang.Object obj)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object