Possible Duplicate:
setting scope of array_map php
I have a function called cube1() in a class called customExceptions. In another PHP script I need to use array_map(), and for the callback function I want to use the cube1() function in the customExceptions class. What is the syntax to do this? This seems a really basic question but I could't find a simple straight forward answer.