Fetch data from a post controller hook? |
[eluser]Unknown[/eluser]
Hello, Currently i am developing a PHP PBBG in CI, anyways i have a hook known as "Resource Handler" which does some mathematical formulas and throws those variables into the template. I am using the standard template system if thats a important factor. Now the hook is a post controller hook and i was wondering if theres any way to get the variables that is being thrown into the templates? Thanks.
[eluser]pistolPete[/eluser]
Where do you want to access this data? And what do you want to do with that data? Did you consider extending the controller class instead of a hook? What do you mean by "standard template system"?
[eluser]Unknown[/eluser]
Extending the controller class worked great. Thanks |
Welcome Guest, Not a member yet? Register Sign In |