[PHP] Implied permissions

2006-04-09 Thread SLaVKa
Hey guys... implementing a permission system and just wanted some advice. If i have permission A which has implied permissions B and C How do the permissions relate to each other, for eg if I select permission A to true, that implies that permission B and C must be set to true, but then if I s

[PHP] Re: PHP post data

2006-04-06 Thread SLaVKa
John Taylor-Johnston wrote: Scrolling back and forward through my PHP generated search engine, my browser (FF) alerts to remind me that I have post data. What kind of header can I add to avoid it doing that? Else what is the problem? John Try using GET -- PHP General Mailing List (http://www.ph

[PHP] PHP MVC

2006-03-30 Thread SLaVKa
Hey all, thanks for all the help upfront! In MVC I have a controller e.g PermissionController.php for my application which manages permissions of groups/users etc... So a controller loads up, and assuming theres nothing passed in request loads the default module in this case Permissions. (mod

[PHP] parent constructor

2006-03-29 Thread SLaVKa
Hey guys just a general question... if you have a parent::__constructor() call in your constructor function, should that call ideally be placed before or after the code inside the current constructor? or it doesnt really matter -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] PHP MVC

2006-03-29 Thread SLaVKa
Paul Scott wrote: On Thu, 2006-03-30 at 15:29 +1000, SLaVKa wrote: Hey all, I am desiging my own MVC framework, now i know you can pass views in the string like index.php?view=displayAdmin , but what if the admin model has a choice of displaying a few views as well, like editing user, or

[PHP] PHP MVC

2006-03-29 Thread SLaVKa
Hey all, I am desiging my own MVC framework, now i know you can pass views in the string like index.php?view=displayAdmin , but what if the admin model has a choice of displaying a few views as well, like editing user, or editing product etc, how do i pass subviews, in other words is there eleg