in reply to Checking lots of conditions...ORed and ANDed
So, when you create a new menu item, you have it (and only it) know which authority combination is required for it to be displayable. If you don't want a menu item to be shown, you simply have the controller not put it in the list for querying.
Simple.
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
I shouldn't have to say this, but any code, unless otherwise stated, is untested
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Checking lots of conditions...ORed and ANDed
by TVSET (Chaplain) on Jun 08, 2004 at 02:16 UTC | |
by dragonchild (Archbishop) on Jun 08, 2004 at 11:50 UTC | |
by TVSET (Chaplain) on Jun 08, 2004 at 20:07 UTC |