com.caucho.quercus.program
Class FunctionCountDelegate

java.lang.Object
  extended by com.caucho.quercus.program.FunctionCountDelegate
All Implemented Interfaces:
CountDelegate

public class FunctionCountDelegate
extends java.lang.Object
implements CountDelegate

A delegate that performs Array operations for Quercus objects.


Constructor Summary
FunctionCountDelegate()
           
 
Method Summary
 int count(ObjectValue qThis)
          Returns the value for the specified key.
 void setCount(JavaInvoker count)
          Sets the custom function for the array get.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionCountDelegate

public FunctionCountDelegate()
Method Detail

setCount

public void setCount(JavaInvoker count)
Sets the custom function for the array get.


count

public int count(ObjectValue qThis)
Returns the value for the specified key.

Specified by:
count in interface CountDelegate