uopz_set_hook
Sets hook to execute when entering a function or method
&reftitle.description;
booluopz_set_hook
stringfunction
Closurehook
booluopz_set_hook
stringclass
stringfunction
Closurehook
Sets a hook to execute when entering a function or method.
&reftitle.parameters;
class
The name of the class.
function
The name of the function or method.
hook
A closure to execute when entering the function or method.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
Basic uopz_set_hook Usage
]]>
&example.outputs;
&reftitle.seealso;
uopz_get_hook
uopz_unset_hook