Package com.caucho.quercus.function

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


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

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


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

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

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

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

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

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

  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

    }
   
    AbstractFunction phpGet = qThis.getQuercusClass().getFieldGet();
   
    if (phpGet != null) {
      return phpGet.callMethod(env, getQuercusClass(), qThis, name);
    }
   
    if (__fieldGet != null) {
      try {
        return __fieldGet.callMethod(env, getQuercusClass(), qThis, name);
View Full Code Here

     
      if (phpSet != null) {
        qThis.setFieldInit(true);
       
        try {
          return phpSet.callMethod(env, getQuercusClass(), qThis, name, value);
         
        } finally {
          qThis.setFieldInit(false);
        }
      }
View Full Code Here

                          StringValue methodName, int hash,
                          Value []args)
  {
    AbstractFunction fun = _functionMap.get(methodName, hash);

    return fun.callMethod(env, getQuercusClass(), qThis, args);
  }

  /**
   * Eval a method
   */
 
View Full Code Here

  public Value callMethod(Env env, Value qThis,
                          StringValue methodName, int hash)
  {
    AbstractFunction fun = _functionMap.get(methodName, hash);

    return fun.callMethod(env, getQuercusClass(), qThis);
  }

  /**
   * Eval a method
   */
 
View Full Code Here

                          StringValue methodName, int hash,
                          Value a1)
  {
    AbstractFunction fun = _functionMap.get(methodName, hash);

    return fun.callMethod(env, getQuercusClass(), qThis, a1);
  }

  /**
   * Eval a method
   */
 
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.