| java.lang.Object com.caucho.quercus.module.IniDefinition
IniDefinition | public class IniDefinition (Code) | | |
Inner Class :public enum Type | |
Inner Class :public static class Unsupported extends IniDefinition | |
Method Summary | |
public boolean | getAsBoolean(Quercus quercus) | public boolean | getAsBoolean(Env env) | public BooleanValue | getAsBooleanValue(Quercus quercus) | public BooleanValue | getAsBooleanValue(Env env) | public long | getAsLong(Env env) | public long | getAsLongBytes(Env env, long deflt) | public LongValue | getAsLongValue(Quercus quercus) | public LongValue | getAsLongValue(Env env) | public String | getAsString(Env env) | public StringValue | getAsStringValue(Quercus quercus) | public StringValue | getAsStringValue(Env env) | protected Value | getDefault() Returns the default value of the ini definition. | protected String | getName() Returns the name of the ini definition. | public int | getScope() Returns the scope in which the value of the ini variable can be set. | public Value | getValue(Quercus quercus) Returns the value set for name, or the default from the definition if
it has not been set. | public Value | getValue(Env env) Returns the value set for name, the first oof the local value set for the
environment, the global configuration value set for quercus, or the default
from the definition. | public boolean | isRuntimeDefinition() Returns true if this definition was added at runtime and not
definied by a module. | public void | set(Quercus quercus, Value value) Set the ini value for the given scope. | public void | set(Quercus quercus, String value) Set the ini value for the given scope. | public void | set(Env env, Value value) Set the ini value for the given scope. | public void | set(Env env, String value) Set the ini value for the given scope. | protected void | set(IdentityHashMap<String, Value> map, int scope, Value value) Set the ini value for the given scope. |
PHP_INI_ALL | final public static int PHP_INI_ALL(Code) | | |
PHP_INI_PERDIR | final public static int PHP_INI_PERDIR(Code) | | |
PHP_INI_SYSTEM | final public static int PHP_INI_SYSTEM(Code) | | |
PHP_INI_USER | final public static int PHP_INI_USER(Code) | | |
IniDefinition | public IniDefinition(String name, Type type, Value deflt, int scope)(Code) | | |
getAsBoolean | public boolean getAsBoolean(Env env)(Code) | | |
getAsLong | public long getAsLong(Env env)(Code) | | |
getAsLongBytes | public long getAsLongBytes(Env env, long deflt)(Code) | | |
getDefault | protected Value getDefault()(Code) | | Returns the default value of the ini definition.
|
getName | protected String getName()(Code) | | Returns the name of the ini definition.
|
getScope | public int getScope()(Code) | | Returns the scope in which the value of the ini variable can be set.
|
getValue | public Value getValue(Quercus quercus)(Code) | | Returns the value set for name, or the default from the definition if
it has not been set.
|
getValue | public Value getValue(Env env)(Code) | | Returns the value set for name, the first oof the local value set for the
environment, the global configuration value set for quercus, or the default
from the definition.
|
isRuntimeDefinition | public boolean isRuntimeDefinition()(Code) | | Returns true if this definition was added at runtime and not
definied by a module.
|
set | public void set(Quercus quercus, Value value)(Code) | | Set the ini value for the given scope.
|
set | public void set(Env env, Value value)(Code) | | Set the ini value for the given scope.
|
set | public void set(Env env, String value)(Code) | | Set the ini value for the given scope.
|
|
|