Tuesday, August 17, 2010

Re: Change the File Name for a Model

You are rite! thanks!

On Aug 16, 8:15 pm, Miles J <mileswjohn...@gmail.com> wrote:
> Why are you using App::import()? Just use the ole regular
> include_once.
>
> On Aug 14, 3:13 pm, sanedevil <sanede...@gmail.com> wrote:
>
> > Thanks again guys!
>
> > @AD7six, i checked the app::import, but couldn't figure out a way that
> > will help me. can u pls enlighten me?
>
> > On Aug 13, 4:31 pm, AD7six <andydawso...@gmail.com> wrote:
>
> > > On Aug 13, 4:19 pm, sanedevil <sanede...@gmail.com> wrote:
>
> > > > Thanks all guys!
>
> > > > seems i cant achieve what i want. I'll change the class name and make
> > > > the changes elsewhere in the app.
>
> > > > as a sidenote (and a general query), cake stresses on convention over
> > > > configuration, but doesn't it provide configuration for the desperate
> > > > and crazy cases (like me ;-) )?
>
> > > Ps if your model class is named Con *only* because the db table is
> > > named cons - then just useTable your way out of that paper bag.
>
> > > Pps - filenames should be lower case.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate