Hi,
I have php code (and thus functions) within templates in my EE application. After upgrading to 2.3 and changing some calls like $DB->query to $this->EE->db->query(), there are issues within functions.
For instance, within functions I am unable to reference the global EE object ($this->EE) due to the obvious scope issue.
Is anyone aware of a best practice for dealing with this?
Thanks!