I need to pass a function as a parameter to another function and then call the passed function from within the function...This is probably easier for me to explain in code..
In php this is very simple.