Thanks Grant and dakomoon.

yeah, app/config/bootstrap.php

Basically, I need to display special elements in a left column DIV for
certain pages.

I'm doing a renderElement left column and passing it an array of
elements to display.   On a few pages I'll pass it a different array
but normally not.   So I need to set a default array to pass.  I'd
hate to specify this in every action in every controller, so I just
want to set it out of the ordinary in a few controllers.

Hope that makes sense!

Thanks,
Wilson

On Jul 6, 8:06 pm, Grant Cox <[EMAIL PROTECTED]> wrote:
> By "bootstrap" I assume you mean app/config/bootstrap.php, not
> anything in the framework itself.
>
> The bootstrap is the correct place to put app-wide global variables -
> certainly for constant values.  But for dynamic things...  What is
> this value you are setting, and where else in your app are you going
> to use it?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to