Saturday, October 25, 2008

Re: How to use Components in Views?

I've set a few configurations in my core.php:

Configure::write('site_id', 1);

Which you can get at from your views:

<?php echo Configure::read('site_id') ?>
--
View this message in context: http://n2.nabble.com/How-to-use-Components-in-Views--tp1377006p1377198.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: