Monday, February 17, 2014

Re: Set "title_for_layout" in controller or view?

Thanks.

But any reason for this? I would have guessed the title is more related to the view than to the controller...

Frank

Am Montag, 17. Februar 2014 09:25:59 UTC+1 schrieb perumal:
Hi,

The best practice well be setting title in controller.

Regards,
Perumal S

On Mon, Feb 17, 2014 at 1:54 PM, LDSign <fr...@lamozik.de> wrote:
> Hi
>
> Sure, the title could be set in the controller and/or in the view.
>
> But what is the best practice regarding coding standards and the MVC
> pattern? The docs are not clear at this point. What do you think?
>
> Thanks,
> Frank
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+u...@googlegroups.com.
> To post to this group, send email to cake...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: