[eluser]Unknown[/eluser]
Hi,
I wonder if anyone has solved the problem I want to solve. I want to create a kind of pull-based MVC application in which views can pull data from models via an API created from helper functions. Moreover, I want to stop view code from being able to access models and libraries directly, so that they can only pull data via the helper-based API.
So far, the only reliable means I can think of is to strip out any code text that contains the string "->load->" from the content of the view file as it's loaded.
Thanks
Simon