Welcome Guest, Not a member yet? Register   Sign In
Limiting View Access without editing all Controllers
#9

[eluser]Rick Jolly[/eluser]
Do it once in the constructor of a parent controller. Get the controller method from the uri using the correct segment (second segment using rsegment which is safe for rerouted routes as well) or get the controller method from the router class (that might not be an option anymore with CI 1.7?).

Search the forums about extending the controller. There are a couple of different ways.


Messages In This Thread
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 09:30 AM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 09:49 AM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 10:26 AM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 11:23 AM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 11:51 AM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 12:05 PM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 12:25 PM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 12:37 PM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 12:58 PM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 01:33 PM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 02:18 PM
Limiting View Access without editing all Controllers - by El Forum - 12-04-2008, 02:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB