com.caucho.quercus.module
Class AbstractQuercusModule

java.lang.Object
  extended by com.caucho.quercus.module.AbstractQuercusModule
All Implemented Interfaces:
QuercusModule
Direct Known Subclasses:
ApacheModule, ApcModule, ArrayModule, BamModule, BcmathModule, ClassesModule, CtypeModule, CurlModule, DateModule, ErrorModule, ExifModule, FileModule, FunctionModule, GettextModule, HashModule, HtmlModule, HttpModule, ImageModule, JavaModule, JMSModule, JsonModule, MailModule, MathModule, MbstringModule, McryptModule, MhashModule, MiscModule, MysqliModule, MysqlModule, NetworkModule, OptionsModule, OracleModule, OutputModule, PDFModule, PDOModule, PostgresModule, QuercusDOMModule, QuercusModule, ReflectionModule, RegexpModule, ResinModule, SessionModule, SimpleXMLModule, SocketModule, SplModule, StreamModule, StringModule, TokenModule, UnicodeModule, UrlModule, VariableModule, WebSocketModule, XmlModule, XMLWriterModule, ZipModule, ZlibModule

public class AbstractQuercusModule
extends java.lang.Object
implements QuercusModule

Represents a quercus module.


Field Summary
protected static int PHP_INI_ALL
           
protected static int PHP_INI_PERDIR
           
protected static int PHP_INI_SYSTEM
           
protected static int PHP_INI_USER
           
 
Constructor Summary
AbstractQuercusModule()
           
 
Method Summary
protected static void addConstant(java.util.Map<StringValue,Value> map, java.lang.String name, long value)
           
protected static void addConstant(java.util.Map<StringValue,Value> map, java.lang.String name, java.lang.String value)
           
protected static void addConstant(java.util.Map<StringValue,Value> map, java.lang.String name, Value value)
           
 java.util.Map<StringValue,Value> getConstMap()
           
 IniDefinitions getIniDefinitions()
          Returns the default quercus.ini values.
 java.lang.String[] getLoadedExtensions()
          Returns the extensions loaded by the module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PHP_INI_USER

protected static final int PHP_INI_USER
See Also:
Constant Field Values

PHP_INI_PERDIR

protected static final int PHP_INI_PERDIR
See Also:
Constant Field Values

PHP_INI_SYSTEM

protected static final int PHP_INI_SYSTEM
See Also:
Constant Field Values

PHP_INI_ALL

protected static final int PHP_INI_ALL
See Also:
Constant Field Values
Constructor Detail

AbstractQuercusModule

public AbstractQuercusModule()
Method Detail

getConstMap

public java.util.Map<StringValue,Value> getConstMap()
Specified by:
getConstMap in interface QuercusModule

getIniDefinitions

public IniDefinitions getIniDefinitions()
Returns the default quercus.ini values.

Specified by:
getIniDefinitions in interface QuercusModule

getLoadedExtensions

public java.lang.String[] getLoadedExtensions()
Returns the extensions loaded by the module.

Specified by:
getLoadedExtensions in interface QuercusModule

addConstant

protected static void addConstant(java.util.Map<StringValue,Value> map,
                                  java.lang.String name,
                                  Value value)

addConstant

protected static void addConstant(java.util.Map<StringValue,Value> map,
                                  java.lang.String name,
                                  long value)

addConstant

protected static void addConstant(java.util.Map<StringValue,Value> map,
                                  java.lang.String name,
                                  java.lang.String value)