Package com.caucho.quercus.module

Examples of com.caucho.quercus.module.IniDefinitions


    Value global = env.createString("global_value");
    Value local = env.createString("local_value");
    Value access = env.createString("access");

    IniDefinitions iniDefinitions = env.getQuercus().getIniDefinitions();

    TreeSet<String> names = new TreeSet<String>();

    names.addAll(iniDefinitions.getNames());

    for (String name : names) {
      if (name.startsWith(prefix)) {
        IniDefinition iniDefinition = iniDefinitions.get(name);

        // php/1a0n - do not add unless defined
        if (!iniDefinition.isRuntimeDefinition()) {

          ArrayValue inner = new ArrayValueImpl();
View Full Code Here


    for (ModuleInfo moduleInfo : env.getQuercus().getModules()) {
      Set<String> extensionSet = moduleInfo.getLoadedExtensions();

      if (extensionSet.contains(_name)) {
        IniDefinitions iniDefs = moduleInfo.getIniDefinitions();

        Set<Map.Entry<String, IniDefinition>> entrySet = iniDefs.entrySet();

        if (entrySet != null) {
          for (Map.Entry<String, IniDefinition> entry : entrySet) {
            array.put(StringValue.create(entry.getKey()),
                      entry.getValue().getValue(env));
View Full Code Here

    Value global = env.createStringOld("global_value");
    Value local = env.createStringOld("local_value");
    Value access = env.createStringOld("access");

    IniDefinitions iniDefinitions = env.getQuercus().getIniDefinitions();

    TreeSet<String> names = new TreeSet<String>();

    names.addAll(iniDefinitions.getNames());

    for (String name : names) {
      if (name.startsWith(prefix)) {
        IniDefinition iniDefinition = iniDefinitions.get(name);

        // php/1a0n - do not add unless defined
        if (!iniDefinition.isRuntimeDefinition()) {

          ArrayValue inner = new ArrayValueImpl();
View Full Code Here

   
    for (ModuleInfo moduleInfo : env.getQuercus().getModules()) {
      Set<String> extensionSet = moduleInfo.getLoadedExtensions();

      if (extensionSet.contains(_name)) {
        IniDefinitions iniDefs = moduleInfo.getIniDefinitions();
       
        Set<Map.Entry<String, IniDefinition>> entrySet = iniDefs.entrySet();
       
        if (entrySet != null) {
          for (Map.Entry<String, IniDefinition> entry : entrySet) {
            array.put(StringValue.create(entry.getKey()),
                      entry.getValue().getValue(env));
View Full Code Here

    Value global = env.createString("global_value");
    Value local = env.createString("local_value");
    Value access = env.createString("access");

    IniDefinitions iniDefinitions = env.getQuercus().getIniDefinitions();

    TreeSet<String> names = new TreeSet<String>();

    names.addAll(iniDefinitions.getNames());

    for (String name : names) {
      if (name.startsWith(prefix)) {
        IniDefinition iniDefinition = iniDefinitions.get(name);

        // php/1a0n - do not add unless defined
        if (!iniDefinition.isRuntimeDefinition()) {

          ArrayValue inner = new ArrayValueImpl();
View Full Code Here

    for (ModuleInfo moduleInfo : env.getQuercus().getModules()) {
      Set<String> extensionSet = moduleInfo.getLoadedExtensions();

      if (extensionSet.contains(_name)) {
        IniDefinitions iniDefs = moduleInfo.getIniDefinitions();

        Set<Map.Entry<String, IniDefinition>> entrySet = iniDefs.entrySet();

        if (entrySet != null) {
          for (Map.Entry<String, IniDefinition> entry : entrySet) {
            array.put(StringValue.create(entry.getKey()),
                      entry.getValue().getValue(env));
View Full Code Here

TOP

Related Classes of com.caucho.quercus.module.IniDefinitions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.