define() is a PHP function that defines a constant: http://us.php.net/define
So you can simply set $theme to xxx, e.g.: var $theme = xxx; On Jun 15, 5:11 am, Narendra Padala <[email protected]> wrote: > Hi all I am new to cake php, > > I am created some themes like red, green blue etc. > > i have to use these themes in my appliaction. > > so i defined in my app controller like this > > var $view = 'Theme'; > var $theme = 'black'; // here i need global value. > > this value i have to set in the core .php > > like this i wrote > > define('xxxx', 'blue'); > > now i need use the 'xxxx' value to > > var $theme = $'xxxx' // here how can i use. > > Please any one can help me out to solove this problem Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
