in cake 1.3 you can alter $this->data in the beforeFilter of the controller
in 2.0 $this->data is read only. writing a cake behaviour for the model may be what your looking for - S On 8 August 2011 19:48, Johkke <[email protected]> wrote: > Is it possible to replace empty fields with an given string (like: 'No > subject given') at model or controller level? I really like to keep > the view as simple as possible > > -- > 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 > -- 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
