Is there a way to allow 'print_profile($p);' or something like it, to work, in customFunctions?
That is, for functions I have created, declared within classes I have created, how can I avoid compile errors like 'Unknown local variable $p'? Is there a way to define $p, so the function knows what to do with it? Something similar to a C import?
All in all I'm guessing the answer is no, in which case I will be left to shove everything within a page_layout function. (ugh)