Package com.caucho.quercus.function

Examples of com.caucho.quercus.function.AbstractFunction.call()


    else {
      QuercusClass cls = env.findClass(obj.toString());
     
      AbstractFunction fun = cls.findFunction(name);
     
      return fun.call(env, args).copyReturn();
    }
  }

  /*
   * Calls a object method with arguments in an array.
View Full Code Here


    AbstractFunction function = _qClass.getStaticFunction("unlink");

    if (function == null)
      return false;

    return function.call(env, path).toBoolean();
  }

  public boolean rename(Env env, StringValue path_from, StringValue path_to)
  {
    AbstractFunction function = _qClass.getStaticFunction("rename");
View Full Code Here

    AbstractFunction function = _qClass.getStaticFunction("rename");

    if (function == null)
      return false;

    return function.call(env, path_from, path_to).toBoolean();
  }

  public boolean mkdir(Env env,
                       StringValue path, LongValue mode, LongValue options)
  {
View Full Code Here

    AbstractFunction function = _qClass.getStaticFunction("mkdir");

    if (function == null)
      return false;

    return function.call(env, path, mode, options).toBoolean();
  }

  public boolean rmdir(Env env, StringValue path, LongValue options)
  {
    AbstractFunction function = _qClass.getStaticFunction("rmdir");
View Full Code Here

    AbstractFunction function = _qClass.getStaticFunction("rmdir");

    if (function == null)
      return false;

    return function.call(env, path, options).toBoolean();
  }

  public Value url_stat(Env env, StringValue path, LongValue flags)
  {
    AbstractFunction function = _qClass.getStaticFunction("url_stat");
View Full Code Here

    AbstractFunction function = _qClass.getStaticFunction("url_stat");

    if (function == null)
      return BooleanValue.FALSE;

    return function.call(env, path, flags);
  }

}
View Full Code Here

        return BooleanValue.FALSE;
      }

      Value jid = env.getGlobalValue("_quercus_bam_service_jid");
      Value ret = function.call(env, jid);

      env.setGlobalValue("_quercus_bam_function_return", ret);

      return BooleanValue.TRUE;
    }
View Full Code Here

    if (eventType.hasId() && eventType.hasError()) {
      Value id = env.getGlobalValue("_quercus_bam_id");
      Value error = env.getGlobalValue("_quercus_bam_error");

      functionReturn = function.call(env, id, to, from, value, error);
    }
    else if (! eventType.hasId() && eventType.hasError()) {
      Value error = env.getGlobalValue("_quercus_bam_error");

      functionReturn = function.call(env, to, from, value, error);
View Full Code Here

      functionReturn = function.call(env, id, to, from, value, error);
    }
    else if (! eventType.hasId() && eventType.hasError()) {
      Value error = env.getGlobalValue("_quercus_bam_error");

      functionReturn = function.call(env, to, from, value, error);
    }
    else if (eventType.hasId() && ! eventType.hasError()) {
      Value id = env.getGlobalValue("_quercus_bam_id");

      functionReturn = function.call(env, id, to, from, value);
View Full Code Here

      functionReturn = function.call(env, to, from, value, error);
    }
    else if (eventType.hasId() && ! eventType.hasError()) {
      Value id = env.getGlobalValue("_quercus_bam_id");

      functionReturn = function.call(env, id, to, from, value);
    }
    else {
      functionReturn = function.call(env, to, from, value);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.