boolean hasMethod(
string
$name, [boolean
$strict = false])
|
|
Check if a method has been registerd.
Unless $strict is true, the method checks if a method or an alias $name has been registered.
Parameters:
mixed invoke(
string
$methodname, [array
$params = null])
|
|
Same as invokeNext() but the queue is reset each time the function is called.
In effect this method will always be invoked at the first instance in the queue. If you have only one instance in the queue, this method is what you probably need - not invokeNext().
Parameters:
mixed invokeNext(
string
$methodname, [array
$params = null])
|
|
Invoke a registered method at a subsequent object instance.
The requested method will get the $params array passed as a single value. The return value of invokeMethod() is the return value of the invoked method.
If more than one instance is registered with the method's name the method will be executed on the next instance in the queue. Null is returned if no instance is left or on error. This may be ambigeous if you have methods returning the null value too. You may use lastError() to prevent this.
Parameters:
boolean register(
object IsterObject
&$object, [string
$methodname = null], [boolean
$strict = false])
|
|
Register an object's methods to the proxy.
All methods of $object are registered unless $methodname is given. Then only this single method is registered. If $strict is true, the method will be bound to the class of $object. The value of $object must be a valid instance.
Parameters: