I wrote a small script to test the mentioned names:

Possible is:
admin
app_model
bake
baker
behavior
cake
element
error
layout
page
scaffold
schema
test
translate
xml

NOT possible is:
app
appmodel
cache
component
debugger
file
folder
helper
inflector
model
object
router
set

The not possible class names are singular, but the related model
tables are named plural.



On 10 Jun., 17:52, Marcelo Andrade <mfandr...@gmail.com> wrote:
> On Wed, Jun 10, 2009 at 8:13 AM, powtac<pow...@gmx.de> wrote:
>
> > What are protected (model) class names in CakePHP 1.2? I discovered
>
> > objects
> > apps
> > folder
>
> > so far.
>
> Beside the class name already used, I guess the
> subfolders names inside models, views and controllers.
>
> components
> elements
> errors
> helpers
> layouts
> pages
> scaffolds
>
> Not for sure, but all of these are candidates to be
> reserved words in Cake.
>
> Best regards.
>
> --
> MARCELO DE F. ANDRADE
> Belem, PA, Amazonia, Brazil
> Linux User #221105
>
> http://mfandrade.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to