Package com.caucho.quercus.function

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


                                       Value []args)
  {
    if (obj.isObject()) {
      AbstractFunction fun = obj.findFunction(name);
     
      return fun.callMethod(env, obj, args).copyReturn();
    }
    else {
      QuercusClass cls = env.findClass(obj.toString());
     
      AbstractFunction fun = cls.findFunction(name);
View Full Code Here


    env.pushCall(this, obj, values);

    try {
      env.checkTimeout();

      return fun.callMethod(env, obj, values);
    } finally {
      env.popCall();
    }
  }
 
View Full Code Here

      initObject(env, objectValue);
     
      AbstractFunction fun = findConstructor();

      if (fun != null)
        fun.callMethod(env, this, objectValue, args);
      else {
        //  if expr
      }

      return objectValue;
View Full Code Here

    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, args);
  }
 
  public final Value callMethod(Env env, Value qThis, StringValue methodName,
                                Value []args)
  {
View Full Code Here

    if (qThis.isNull())
      qThis = this;

    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis);
 
 
  public final Value callMethod(Env env, Value qThis, StringValue methodName)
  {
    return callMethod(env, qThis,
View Full Code Here

    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, a1);
 
 
  public final Value callMethod(Env env, Value qThis, StringValue methodName,
                                Value a1)
  {
View Full Code Here

    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, a1, a2);
 
 
  public final Value callMethod(Env env, Value qThis, StringValue methodName,
                                Value a1, Value a2)
  {
View Full Code Here

    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, a1, a2, a3);
 
 
  public final Value callMethod(Env env, Value qThis, StringValue methodName,
                                Value a1, Value a2, Value a3)
  {
View Full Code Here

    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, a1, a2, a3, a4);
 
 
  public final Value callMethod(Env env, Value qThis, StringValue methodName,
                                Value a1, Value a2, Value a3, Value a4)
  {
View Full Code Here

    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, a1, a2, a3, a4, a5);
 
 
  public final Value callMethod(Env env, Value qThis, StringValue methodName,
                                Value a1, Value a2, Value a3, Value a4,
                                Value a5)
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.