Package com.caucho.quercus.function

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


  public Value call(Env env, Value []args)
  {
    AbstractFunction fun = _quercusClass.getInvoke();
   
    if (fun != null)
      return fun.callMethod(env, _quercusClass, this, args);
    else
      return super.call(env, args);
  }

  public void varDumpObject(Env env,
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

      if (! _isFieldInit) {
        AbstractFunction fieldSet = _quercusClass.getFieldSet();

        if (fieldSet != null) {
          _isFieldInit = true;
          Value retVal = fieldSet.callMethod(env, this, name, value);
          _isFieldInit = false;
         
          return retVal;
        }
      }
View Full Code Here

   
        if (fieldSet != null) {
          //php/09k7
          _isFieldInit = true;
         
          Value retVal = fieldSet.callMethod(env, this, name, value);
         
          _isFieldInit = false;
          return retVal;
        }
      }
View Full Code Here

   
    try {
      AbstractFunction fun = _methodMap.get(hash, name, nameLen);
     
      if (fun != null)
        return fun.callMethod(env, this, args);
      else if (_quercusClass.getCall() != null) {
        Expr []newArgs = new Expr[args.length + 1];
        String mtd = toMethod(name, nameLen);
        if (env.isUnicodeSemantics())
          newArgs[0] = new UnicodeLiteralExpr(mtd);
View Full Code Here

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

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

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

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

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

      if (fun != null)
        return fun.callMethod(env, this);
      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);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethod(env,
                  this,
                  env.createString(name, nameLen),
                  new ArrayValueImpl());
      }
      else
View Full Code Here

   
    try {
      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()
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.