|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.module.AbstractQuercusModule
com.caucho.quercus.lib.QuercusModule
public class QuercusModule
Quercus functions to get information about the Quercus environment.
Field Summary |
---|
Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule |
---|
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER |
Constructor Summary | |
---|---|
QuercusModule()
|
Method Summary | |
---|---|
static Env |
get_env(Env env)
Returns the Env object. |
static QuercusContext |
get_quercus(Env env)
Returns the Quercus object. |
static HttpServletRequest |
get_request(Env env)
Deprecated. |
static HttpServletResponse |
get_response(Env env)
Deprecated. |
static ServletContext |
get_servlet_context(Env env)
Returns the ServletContext. |
static HttpServletRequest |
get_servlet_request(Env env)
Returns the HttpServletRequest associated with this Env. |
static HttpServletResponse |
get_servlet_response(Env env)
Returns the HttpServletResponse associated with this Env. |
static boolean |
has_database(Env env)
Returns true if a JDBC database has been explicitly set. |
static boolean |
has_request(Env env)
Returns true if there is an HttpRequest associated with this Env. |
static boolean |
is_compile(Env env)
Returns true if pages will be compiled. |
static boolean |
is_pro(Env env)
Returns true if this is the Professional version. |
static boolean |
is_resin(Env env)
Returns true if Quercus is running under Resin. |
static void |
q_import(Env env,
java.lang.String name)
Special quercus-only import statements. |
static java.lang.String |
version(Env env)
Returns the version of Quercus. |
Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule |
---|
addConstant, addConstant, addConstant, getConstMap, getIniDefinitions, getLoadedExtensions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuercusModule()
Method Detail |
---|
public static QuercusContext get_quercus(Env env)
public static Env get_env(Env env)
public static java.lang.String version(Env env)
public static boolean is_pro(Env env)
public static boolean is_compile(Env env)
public static boolean is_resin(Env env)
public static boolean has_database(Env env)
public static boolean has_request(Env env)
@Deprecated public static HttpServletRequest get_request(Env env)
public static HttpServletRequest get_servlet_request(Env env)
@Deprecated public static HttpServletResponse get_response(Env env)
public static HttpServletResponse get_servlet_response(Env env)
public static ServletContext get_servlet_context(Env env)
public static void q_import(Env env, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |