Welcome Guest, Not a member yet? Register   Sign In
Using Helper Functions Outside Controller
#4

[eluser]CmdrMoozy[/eluser]
That is the obvious solution, but in this case I'm not sure it works.

The issue I'm having is that, in my particular case, getFoobar() returns a path to a PHP file I want to include, and doing require_once() inside of a class doesn't really do what one expects (due to scoping).


Messages In This Thread
Using Helper Functions Outside Controller - by El Forum - 11-10-2012, 01:27 PM
Using Helper Functions Outside Controller - by El Forum - 11-10-2012, 01:45 PM
Using Helper Functions Outside Controller - by El Forum - 11-10-2012, 01:48 PM
Using Helper Functions Outside Controller - by El Forum - 11-10-2012, 01:51 PM
Using Helper Functions Outside Controller - by El Forum - 11-10-2012, 01:57 PM
Using Helper Functions Outside Controller - by El Forum - 11-10-2012, 01:58 PM
Using Helper Functions Outside Controller - by El Forum - 11-10-2012, 02:00 PM
Using Helper Functions Outside Controller - by El Forum - 11-10-2012, 02:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB