Method Summary |
|
public void | addImplClass(String name, Class type) |
public void | addJavaClass(String name, Class type) |
public void | addJavaClass(String phpName, String className) |
protected void | addJavaClassWrapper(String className, JavaClassDef def) |
public void | addModule(QuercusModule module) |
public void | clearDefinitionCache() Clears the definition cache. |
public void | close() |
public Env | createEnv(QuercusPage page, WriteStream out, HttpServletRequest request, HttpServletResponse response) |
protected ModuleContext | createModuleContext(ClassLoader loader) |
protected PageManager | createPageManager() |
protected QuercusSessionManager | createSessionManager() |
public String | createStaticName() |
public StringValue | createString(String v) |
public void | destroySession(String sessionId) Removes the session from the backing. |
public static Value | exnConstructor(Env env, Value obj, String msg) |
public ClassDef | findClass(String name) Returns the class with the given name. |
public int | findClassId(String name) Returns the id for a function name. |
public DataSource | findDatabase(String driver, String url) Gets the default data source. |
public AbstractFunction | findFunction(String name) Returns the function with the given name. |
public int | findFunctionId(String name) Returns the id for a function name. |
public AbstractFunction | findFunctionImpl(String name) Returns the function with the given name. |
public ClassDef | findJavaClassWrapper(String name) Finds the java class wrapper. |
public AbstractFunction | findLowerFunctionImpl(String lowerName) Returns the function with the given name. |
public QuercusModule | findModule(String name) Returns the module with the given name. |
public ClassDef[] | getClassDefMap() |
public int | getClassId(String name) Returns the id for a class name. |
public int | getClassIdCount() |
public HashMap<String, ClassDef> | getClassMap() Returns the class maps. |
public Connection | getConnection(Connection conn) Unwrap connection if necessary. |
public HashMap<String, Value> | getConstMap() |
public Value | getConstant(String name) Returns a named constant. |
public int | getConstantId(String name) |
public int | getConstantIdSize() |
public String | getCookieName() |
public DataSource | getDatabase() Gets the default data source. |
public long | getDefCacheHitCount() Returns the definition cache hit count. |
public long | getDefCacheMissCount() Returns the definition cache miss count. |
public ArrayValue | getDefinedFunctions() Returns an array of the defined functions. |
public Value | getExtensionFuncs(String name) Returns true if an extension is loaded. |
public int | getFunctionId(String name) Returns the id for a function name. |
public int | getFunctionIdCount() |
public AbstractFunction[] | getFunctionMap() |
public Path | getIncludeCache(String include, String includePath, Path pwd, Path scriptPwd) Returns an include path. |
public boolean | getIniBoolean(String name) Returns an ini value. |
public IniDefinitions | getIniDefinitions() Returns the IniDefinitions for all ini that have been defined by modules. |
public long | getIniLong(String name) Returns an ini value as a long. |
public IdentityHashMap<String, Value> | getIniMap(boolean create) Returns a map of the ini values that have been explicitly set. |
public JavaClassDef | getJavaClassDefinition(Class type, String className) |
public JavaClassDef | getJavaClassDefinition(String className) |
public HashSet<String> | getLoadedExtensions() Returns true if an extension is loaded. |
final public ModuleContext | getLocalContext() Returns the context for this class loader. |
public ModuleContext | getLocalContext(ClassLoader loader) |
public ModuleContext | getModuleContext() Returns the module context. |
public HashSet<ModuleStartupListener> | getModuleStartupListeners() Returns a list of the modules that have some startup code to run. |
public Collection<ModuleInfo> | getModules() |
public String | getMysqlVersion() |
public String | getPhpVersion() |
public Path | getPwd() Returns the working directory. |
public QuercusSessionManager | getQuercusSessionManager() |
public String | getScriptEncoding() |
public Value | getServerEnv(StringValue name) Gets a server env value. |
public HashMap<Value, Value> | getServerEnvMap() Returns the server env map. |
public ServletContext | getServletContext() |
public Object | getSpecial(String key) |
public java.sql.Statement | getStatement(java.sql.Statement stmt) Unwrap statement if necessary. |
public QuercusClass | getStdClass() Returns the stdClass definition. |
public String | getVersion() |
public String | getVersionDate() |
public Path | getWorkDir() |
public StringValue | intern(String name) Interns a string. |
public boolean | isCompile() true if the pages should be compiled. |
public boolean | isExtensionLoaded(String name) Returns true if an extension is loaded. |
public boolean | isPro() |
public boolean | isRequireSource() |
public boolean | isResin() |
public boolean | isStrict() Gets the strict mode. |
public static boolean | isSuperGlobal(String name) Returns true if the variable is a superglobal. |
public boolean | isUnicodeSemantics() Returns true if unicode.semantics is on. |
public SessionArrayValue | loadSession(Env env, String sessionId) Loads the session from the backing. |
public void | markForPoolRemoval(Connection conn) |
public static Value | objectToValue(Object obj) |
public QuercusPage | parse(Path path) Parses a quercus program. |
public QuercusPage | parse(Path path, String fileName, int line) Parses a quercus program. |
public QuercusPage | parse(ReadStream is) Parses a quercus program. |
public QuercusProgram | parseCode(String code) Parses a quercus string. |
public QuercusProgram | parseEvalExpr(String code) Parses a quercus string. |
public Value | parseFunction(String args, String code) Parses a function. |
public void | putIncludeCache(String include, String includePath, Path pwd, Path scriptPwd, Path path) Adds an include path. |
public void | saveSession(Env env, SessionArrayValue session) Saves the session to the backing. |
public void | setCompile(boolean isCompile) Set true if pages should be compiled. |
public void | setDatabase(DataSource database) Sets the default data source. |
public void | setIni(String name, StringValue value) Sets an ini value. |
public void | setIni(String name, String value) Sets an ini value. |
public void | setIniFile(Path path) Sets an ini file. |
public void | setLazyCompile(boolean isCompile) Set true if pages should be compiled. |
public void | setMysqlVersion(String version) |
public void | setPhpVersion(String version) |
public void | setPwd(Path path) Sets the working directory. |
public void | setRequireSource(boolean isRequireSource) |
public void | setScriptEncoding(String encoding) |
public void | setServerEnv(String name, String value) Sets a server env value. |
public void | setServerEnv(StringValue name, StringValue value) Sets a server env value. |
public void | setServletContext(ServletContext servletContext) |
public void | setSpecial(String key, Object value) |
public void | setStrict(boolean isStrict) Sets the strict mode. |
public void | setWorkDir(Path workDir) |