com.caucho.quercus
Class CliQuercus

java.lang.Object
  extended by com.caucho.quercus.QuercusContext
      extended by com.caucho.quercus.Quercus
          extended by com.caucho.quercus.CliQuercus

public class CliQuercus
extends Quercus


Field Summary
 
Fields inherited from class com.caucho.quercus.QuercusContext
_envTimeout, _functionNameMap, ENV_TIMEOUT_UPDATE_INTERVAL, INI_ALWAYS_POPULATE_RAW_POST_DATA, INI_INCLUDE_PATH, INI_REGISTER_LONG_ARRAYS, INI_UNICODE_FALLBACK_ENCODING, INI_UNICODE_FROM_ERROR_MODE, INI_UNICODE_FROM_ERROR_SUBST_CHAR, INI_UNICODE_HTTP_INPUT_ENCODING, INI_UNICODE_OUTPUT_ENCODING, INI_UNICODE_RUNTIME_ENCODING, INI_UNICODE_SCRIPT_ENCODING, INI_UNICODE_SEMANTICS
 
Constructor Summary
CliQuercus()
           
 
Method Summary
 Env createEnv(QuercusPage page, WriteStream out, HttpServletRequest request, HttpServletResponse response)
           
 boolean isRegisterArgv()
          Hard-coded to true for CLI according to php.net.
static void main(java.lang.String[] args)
           
 
Methods inherited from class com.caucho.quercus.Quercus
execute, execute, execute, getArgv, getFileName, getSapiName, parseArgs, printUsage, setFileName
 
Methods inherited from class com.caucho.quercus.QuercusContext
addImplClass, addInitModule, addJavaClass, addJavaClass, addLowerConstantId, clearDefinitionCache, close, completeEnv, createExprFactory, createModuleContext, createPageManager, createSessionManager, createStaticName, createString, createUnicodeString, destroySession, extendFunctionMap, finalize, findClass, findClassId, findDatabase, findFunction, findFunctionId, findFunctionImpl, findJavaClassWrapper, findLowerFunctionImpl, findModule, getActiveEnvSet, getCachedClass, getClassCacheMap, getClassDef, getClassDefMap, getClassId, getClassIdCount, getClassMap, getClassName, getClassName, getCompileClassLoader, getConnection, getConstant, getConstantId, getConstantId, getConstantIdCount, getConstantLower, getConstantLowerId, getConstantMap, getConstantName, getCookieName, getCurrentTime, getDatabase, getDefCacheHitCount, getDefCacheMissCount, getDefinedFunctions, getDependencyCheckInterval, getExactTime, getExactTimeNanoseconds, getExtensionFuncs, getFunctionId, getFunctionIdCount, getFunctionMap, getIncludeCache, getIncludeCacheMax, getIncludeCacheTimeout, getIniBoolean, getIniDefinitions, getIniFile, getIniLong, getIniMap, getIniString, getIniValue, getJavaClassDefinition, getJavaClassDefinition, getJdbcDriverContext, getLoadedExtensions, getLocalContext, getLocalContext, getModuleContext, getModules, getModuleStartupListeners, getMysqlVersion, getName, getOutputEncoding, getPageCacheSize, getPhpVersion, getProfileIndex, getPwd, getQuercusSessionManager, getRegexpCacheSize, getScriptEncoding, getServerEnv, getServerEnvMap, getServletContext, getSessionCache, getSpecial, getStatement, getStdClass, getVersion, getVersionDate, getWebInfDir, getWorkDir, includeExists, init, initLocal, isAllowUrlFopen, isAllowUrlInclude, isClosed, isCompile, isConnectionPool, isExtensionLoaded, isLooseParse, isPro, isProfile, isRequireSource, isResin, isStrict, isSuperGlobal, isUnicodeSemantics, loadSession, markForPoolRemoval, objectToValue, parse, parse, parse, parseCode, parseEvalExpr, parseFunction, putIncludeCache, saveSession, setCachedClass, setCompile, setCompileClassLoader, setCompileFailover, setConnectionPool, setDatabase, setDependencyCheckInterval, setFunction, setIncludeCacheMax, setIncludeCacheTimeout, setIni, setIni, setIniFile, setLazyCompile, setLooseParse, setMysqlVersion, setPageCacheSize, setPhpVersion, setProfileProbability, setPwd, setRegexpCacheSize, setRequireSource, setScriptEncoding, setServerEnv, setServerEnv, setServletContext, setSessionTimeout, setSpecial, setStrict, setUnicodeSemantics, setWebInfDir, setWorkDir, start, startEnv
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CliQuercus

public CliQuercus()
Method Detail

createEnv

public Env createEnv(QuercusPage page,
                     WriteStream out,
                     HttpServletRequest request,
                     HttpServletResponse response)
Overrides:
createEnv in class QuercusContext

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

isRegisterArgv

public boolean isRegisterArgv()
Hard-coded to true for CLI according to php.net.

Overrides:
isRegisterArgv in class QuercusContext