Package com.caucho.quercus.function

Examples of com.caucho.quercus.function.AbstractFunction


      throw new NullPointerException(L.l("'{0}' is a null function", name));
   
    //php/09j9
    // XXX: this is a hack to get Zend Framework running, the better fix is
    // to initialize all interface classes before any concrete classes
    AbstractFunction existingFun = _methodMap.getRaw(name);

    if (existingFun == null && ! fun.isAbstract())
      _methodMap.put(name.toString(), fun);
  }
View Full Code Here


        objectValue = _classDef.newInstance(env, this);
      }

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

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

      return objectValue;
View Full Code Here

                          Value []args)
  {
    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, args);
  }
View Full Code Here

                          StringValue methodName, int hash)
  {
    if (qThis.isNull())
      qThis = this;

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

    return fun.callMethod(env, this, qThis);
 
View Full Code Here

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

    return fun.callMethod(env, this, qThis, a1);
 
View Full Code Here

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

    return fun.callMethod(env, this, qThis, a1, a2);
 
View Full Code Here

                          Value a1, Value a2, Value a3)
  {
    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, a1, a2, a3);
 
View Full Code Here

                          Value a1, Value a2, Value a3, Value a4)
  {
    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, a1, a2, a3, a4);
 
View Full Code Here

                          Value a1, Value a2, Value a3, Value a4, Value a5)
  {
    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethod(env, this, qThis, a1, a2, a3, a4, a5);
 
View Full Code Here

                             Value []args)
  {
    if (qThis.isNull())
      qThis = this;
   
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethodRef(env, this, qThis, args);
 
View Full Code Here

TOP

Related Classes of com.caucho.quercus.function.AbstractFunction

Copyright © 2018 www.massapicom. 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.