Welcome Guest, Not a member yet? Register   Sign In
Prohibit access to get_instance() from a view
#11

(11-21-2017, 10:20 AM)Narf Wrote:
(11-21-2017, 09:36 AM)rolf Wrote:
(11-21-2017, 03:00 AM)Narf Wrote: Not possible.

I agree. Even when creating an extension forĀ get_instance(), it's still not possible to determine whether a call was being made from the view or from the controller.

It is possible to detect where the call originated from. You can't make an extension of get_instance().

So, how would you do this?
Reply


Messages In This Thread
RE: Prohibit access to get_instance() from a view - by rolf - 11-21-2017, 11:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB