|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.program.FunctionArrayDelegate
public class FunctionArrayDelegate
A delegate that performs Array operations for Quercus objects.
| Constructor Summary | |
|---|---|
FunctionArrayDelegate()
|
|
| Method Summary | |
|---|---|
long |
count(ObjectValue qThis)
Returns the value for the specified key. |
Value |
get(ObjectValue qThis,
Value key)
Returns the value for the specified key. |
boolean |
isset(ObjectValue qThis,
Value key)
Returns true if the value is set |
Value |
put(ObjectValue qThis,
Value value)
Appends a value. |
Value |
put(ObjectValue qThis,
Value key,
Value value)
Sets the value for the spoecified key. |
void |
setArrayCount(JavaInvoker arrayCount)
Sets the custom function for the array set. |
void |
setArrayGet(JavaInvoker arrayGet)
Sets the custom function for the array get. |
void |
setArrayPut(JavaInvoker arrayPut)
Sets the custom function for the array set. |
Value |
unset(ObjectValue qThis,
Value key)
Removes the value at the speified key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionArrayDelegate()
| Method Detail |
|---|
public void setArrayGet(JavaInvoker arrayGet)
public void setArrayPut(JavaInvoker arrayPut)
public void setArrayCount(JavaInvoker arrayCount)
public Value get(ObjectValue qThis,
Value key)
get in interface ArrayDelegate
public Value put(ObjectValue qThis,
Value key,
Value value)
put in interface ArrayDelegate
public Value put(ObjectValue qThis,
Value value)
put in interface ArrayDelegate
public boolean isset(ObjectValue qThis,
Value key)
isset in interface ArrayDelegate
public Value unset(ObjectValue qThis,
Value key)
unset in interface ArrayDelegatepublic long count(ObjectValue qThis)
count in interface ArrayDelegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||