One thing I've noticed that has always kinda bothered me...

Why, when baking a view, does Cake get the names for multi-word models
correct, except for the one you're on.

For instance:
I have a table product_categories, and another table product_families
which is related.

When I bake the view for product_categories, in the header (and
various places in the controller), it says "ProductCategories" (no
space), but lower down in the view, in the actions div, it lists the
actions for product_families as "Product Families" (with space).

But when I bake the view for product_families, it's the opposite:
showing "ProductFamilies" in the header, and "Product Categories" in
the actions.

If cake knows how to split the words, why doesn't it do it
consistently?  Is this by design?

It's not a huge deal, just a bit annoying to have to go through and
split the words in all my controllers and views to get a consistent
name for my items.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to