BRICKOO::RemoveCall  (since version 2.0)
Syntax
integer RemoveCall (  string $objectName [, string $methodName = null ] )
Parameters
objectName
The object or class name to remove.
methodName
The method name assigned to the callback. Only the specific object with this method will be removed.
Description
Removes an callback that has been assign with CallOnEnd.

Note:
If no method name is given, all callback of the class will be removed
Return
integer Returns the number of removed callbacks.
See also
Examples
<?php

 
// remove all callbacks of the object
 
BRICKOO::RemoveCall($object);

?>

<?php

 
// removes just the callback with a specific method call
 
BRICKOO::RemoveCall($object'Save');

?>

Last change 10/15/2009




Administration