I have some views that I would like to store in the database and read in as required - all the render functions seem to read in the view from a file-system.
Can anyone shed some light on how I may parse in PHP code from a variable? I’ve looked at renderFile and renderInternal in the CBaseController.php class, but it’s beyond my knowledge.
Wow, yes you’re right. I basically just need to eval() the view “file”, and perhaps capture the output like they do in the renderInternal function. Brilliant, I’ll give it a go tonight.