|
||||||||||
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.OutputModule
public class OutputModule
PHP output routines.
Field Summary | |
---|---|
static int |
PHP_OUTPUT_HANDLER_CONT
|
static int |
PHP_OUTPUT_HANDLER_END
|
static int |
PHP_OUTPUT_HANDLER_START
|
Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule |
---|
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER |
Constructor Summary | |
---|---|
OutputModule()
|
Method Summary | |
---|---|
Value |
flush(Env env)
Flushes the original output buffer. |
IniDefinitions |
getIniDefinitions()
Returns the default php.ini values. |
static Value |
ob_clean(Env env)
Clears the output buffer. |
static boolean |
ob_end_clean(Env env)
Pops the output buffer, discarding the contents. |
static boolean |
ob_end_flush(Env env)
Pops the output buffer. |
static Value |
ob_flush(Env env)
Flushes this output buffer into the next one on the stack or to the default "output buffer" if no next output buffer exists. |
static Value |
ob_get_clean(Env env)
Returns the contents of the output buffer, emptying it afterwards. |
static Value |
ob_get_contents(Env env)
Returns the contents of the current output buffer. |
static Value |
ob_get_flush(Env env)
Pops the output buffer and returns the contents. |
static Value |
ob_get_length(Env env)
Pushes the output buffer |
static Value |
ob_get_level(Env env)
Gets the nesting level of the current output buffer |
static Value |
ob_get_status(Env env,
boolean full_status)
Gets the status of the current output buffer(s) |
static Value |
ob_gzhandler(Env env,
StringValue buffer,
int state)
Output buffering compatible callback that automatically compresses the output. |
static Value |
ob_implicit_flush(Env env,
boolean flag)
Makes the original "output buffer" flush on every write. |
static Value |
ob_list_handlers(Env env)
Returns a list of all the output handlers in use. |
static boolean |
ob_start(Env env,
Callable callback,
int chunkSize,
boolean erase)
Pushes the output buffer |
static boolean |
output_add_rewrite_var(Env env,
java.lang.String name,
java.lang.String value)
Adds a variable to the list for rewritten URLs. |
static boolean |
output_reset_rewrite_vars(Env env)
Clears the list of variables for rewritten URLs. |
static UrlRewriterCallback |
pushUrlRewriter(Env env)
Pushes a new UrlRewriter callback onto the output buffer stack if one does not already exist. |
void |
startup(Env env)
|
Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule |
---|
addConstant, addConstant, addConstant, getConstMap, getLoadedExtensions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.caucho.quercus.module.QuercusModule |
---|
getConstMap, getLoadedExtensions |
Field Detail |
---|
public static final int PHP_OUTPUT_HANDLER_START
public static final int PHP_OUTPUT_HANDLER_CONT
public static final int PHP_OUTPUT_HANDLER_END
Constructor Detail |
---|
public OutputModule()
Method Detail |
---|
public IniDefinitions getIniDefinitions()
getIniDefinitions
in interface QuercusModule
getIniDefinitions
in class AbstractQuercusModule
public void startup(Env env)
startup
in interface ModuleStartupListener
public Value flush(Env env)
public static Value ob_clean(Env env)
public static boolean ob_end_clean(Env env)
public static boolean ob_end_flush(Env env)
public static Value ob_get_clean(Env env)
public static Value ob_get_contents(Env env)
public static Value ob_get_flush(Env env)
public static Value ob_flush(Env env)
public static Value ob_get_length(Env env)
public static Value ob_get_level(Env env)
public static Value ob_list_handlers(Env env)
public static Value ob_get_status(Env env, boolean full_status)
public static Value ob_implicit_flush(Env env, boolean flag)
public static boolean ob_start(Env env, Callable callback, int chunkSize, boolean erase)
public static UrlRewriterCallback pushUrlRewriter(Env env)
public static boolean output_add_rewrite_var(Env env, java.lang.String name, java.lang.String value)
public static boolean output_reset_rewrite_vars(Env env)
public static Value ob_gzhandler(Env env, StringValue buffer, int state)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |