Monday, February 17, 2014

Re: Set "title_for_layout" in controller or view?

Hi,

The best practice well be setting title in controller.

Regards,
Perumal S

On Mon, Feb 17, 2014 at 1:54 PM, LDSign <frank@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+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.

--
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: