app_model.php -> in your model variable is accessible
app_controller.php -> in your controllers variable is accessible
core.php -> anywhere accessible
Jose
On 4/8/06, wassimk <[EMAIL PROTECTED]> wrote:
Hello Everyone,
Is there a way to register an array as global using Cake? Kind of like
application wide settings array that I can load from a database.
Something like
$settings = array();
$this->register->settings($settings)
Then you can access $this->settings anywhere?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- Re: Global Variables and Arrays Jose Cedeno
