You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's a good question ! :) In normal frameworks you can do this for sure, but i would go with a helper like Helper::MyHelperMethod($abc) or do a hard redirect+exit.
btw it's important to do the exit; after doing a redirect as technically a redirect is just "asking the browser" to go somewhere else, your php process will still go on !
Activity
panique commentedon Sep 17, 2016
That's a good question ! :) In normal frameworks you can do this for sure, but i would go with a helper like Helper::MyHelperMethod($abc) or do a hard redirect+exit.
http://php.net/manual/en/function.header.php
btw it's important to do the exit; after doing a redirect as technically a redirect is just "asking the browser" to go somewhere else, your php process will still go on !