Welcome Guest, Not a member yet? Register   Sign In
Getting info from the pre_controller hook
#1

[eluser]FinalFrag[/eluser]
Hi there,

I have a pre_controller hook that executes the function 'example' which looks like this:
Code:
function example() {
    return 'testvar';
}

Now my question is rather simple...
How can I access the return value (in this case testvar) in my controller?

Thnx


Messages In This Thread
Getting info from the pre_controller hook - by El Forum - 09-02-2008, 04:56 AM
Getting info from the pre_controller hook - by El Forum - 09-02-2008, 08:26 AM
Getting info from the pre_controller hook - by El Forum - 09-02-2008, 09:01 AM
Getting info from the pre_controller hook - by El Forum - 09-02-2008, 09:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB