Welcome Guest, Not a member yet? Register   Sign In
Why should i use Private Funtions instead of Public Functions?
#13

[eluser]Dam1an[/eluser]
[quote author="bargainph" date="1241667935"][quote author="Dam1an" date="1241659204"]thats largely the developers fault[/quote]
Yeah blame it on them! Smile[/quote]

If you don't check a user has the permissions to delete stuff they shouldn't, its your fault.
If you code around you're own API (which does the checks) because you made the model method public, then its also your fault Tongue


Messages In This Thread
Why should i use Private Funtions instead of Public Functions? - by El Forum - 05-06-2009, 11:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB