Sometimes I hit myself with a small, embarrassing clue stick
immediately after posting.
I thought I had tried using $this->viewVars['whatever' ] in my find
conditions and that it just didn't work.
But I just tried that little test of:
$this->set('menu_link', "/budgets" );
$this->set('menu_name', $this->viewVars['menu_link']);
and it does seem to work. (menu_name gets set to "/budgets")
So I think I need to go back and rework my find() conditions to try
$this->viewVars[whatever] again
Any other comments about the validity of using $this->viewVars in
controller logic welcome.
Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---