On Thu, Feb 5, 2009 at 1:31 AM, Malcolm Krugger <[email protected]> wrote: > > Thanks > > I have many view files that may use the same variables again and > again > > SO I do not want to define these variables so many times ? > > Is there a shortcut ? > > These variables are pure html e.g > > $veryimp = "<td><b>"; > > etc >
Maybe it'd be (a lot) simpler to just use CSS. Add a class based on the value of the var passed to the element. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
