with $this->set(); i think will be the best...
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/1/28 raymond <[email protected]>

> thanks. I guess yes, it should work.
> Now can I ask a kind of different question to you?
> How can I share the constant from controller to view?
> In app_controller class, I put the variable, e.g, var $path = 'themed/
> mytheme/' so in any controller classes, I can simply refer them by,
> $this->path,
> but what about in View side?
> Can not I use this value View side?
> Look forward to you reply, Raymond.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to