Package com.caucho.quercus.function

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


      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethod(env, this, a1);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl()
                  .append(a1));
      }
View Full Code Here


   
    try {
      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethod(env, this, a1, a2);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl()
View Full Code Here

      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethod(env, this, a1, a2);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl()
                  .append(a1)
                  .append(a2));
View Full Code Here

   
    try {
      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethod(env, this, a1, a2, a3);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl()
View Full Code Here

      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethod(env, this, a1, a2, a3);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl()
                  .append(a1)
                  .append(a2)
View Full Code Here

   
    try {
      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethod(env, this, a1, a2, a3, a4);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl()
View Full Code Here

      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethod(env, this, a1, a2, a3, a4);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl()
                  .append(a1)
                  .append(a2)
View Full Code Here

   
    try {
      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethod(env, this, a1, a2, a3, a4, a5);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl()
View Full Code Here

      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethod(env, this, a1, a2, a3, a4, a5);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl()
                  .append(a1)
                  .append(a2)
View Full Code Here

   
    try {
      AbstractFunction fun = _quercusClass.findFunction("__toString");

      if (fun != null)
        return fun.callMethod(env, this, new Expr[0]).toStringValue(env);
      else
        return env.createStringOld(_className + "[]");
    } finally {
      env.setCallingClass(oldClass);
    }
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.