Package com.caucho.quercus.function

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


    QuercusClass qClass = getQuercusClass();

    AbstractFunction fun = qClass.getDestructor();

    if (fun != null)
      fun.callMethod(env, qClass, this);
  }

  private static String toMethod(char []key, int keyLength)
  {
    return new String(key, 0, keyLength);
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

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

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

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

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

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

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

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

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

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

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

    return fun.callMethod(env, getQuercusClass(), qThis, a1, a2, a3, a4, a5);
  }

  public Set<? extends Map.Entry<Value,Value>> entrySet(Object obj)
  {
    try {
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.