The Configure Class can be used to store values during runtime:
Configure::write('Site.webmaster', '[EMAIL PROTECTED]');
Configure::write('Site.title', 'My Site');
and read them:
Configure::read('Site.webmaster'); // returns '[EMAIL PROTECTED]'
Configure::read('Site'); // returns array('webmaster' => '...',
'title' => '...')
you can also store the current values in a file permanently with
Configure::store()

See http://api.cakephp.org/class_configure.html for further
information.

On Sep 14, 4:33 am, "Gustavo Carreno" <[EMAIL PROTECTED]>
wrote:
> The default value for the read() method is 'debug'.
> This means that it return the value of debug settings.
>
> 2008/9/14 . <[EMAIL PROTECTED]>:
>
> > what does configure::read() do?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to