On Aug 15, 12:13 am, 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?
sure use the sane path: useTable ;)
Check out the new CakePHP Questions site http://cakeqs.org and help
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
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
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
On Aug 13, 12:03 am, sanedevil sanede...@gmail.com wrote:
Table name: cons
Class name: Con
File name: Con.php
However, windows doesn't allow you to create a file named Con. Is
there a way that I can change the filename (e.g. Contact.php), but
still keep the Classname as Con?
Thanks!
An
that's what i was wondering :)
On 13 Aug., 09:31, AD7six andydawso...@gmail.com wrote:
On Aug 13, 12:03 am, sanedevil sanede...@gmail.com wrote:
Table name: cons
Class name: Con
File name: Con.php
However, windows doesn't allow you to create a file named Con. Is
there a way that I
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 ;-) )?
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
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
WOW didnt know that.. crazy :)
this would not be very straight forward. maybe with manual includes
and stuff
but why not naming it Contact and contact.php?
On 13 Aug., 00:03, sanedevil sanede...@gmail.com wrote:
Table name: cons
Class name: Con
File name: Con.php
However, windows doesn't
And i thot it would be something simple. Damn it!
thanks euromark! the table's already called Con and hence want to keep
the name consistent throughout the app to avoid the typical issues
that a softie faces :) You can imagine the nightmare when I start
using two names in the app. I really hope
How many places in the application already use the Con class name?
Is there any way to change the table name? If not you can use
contact for everything else(using $useTable = 'Con') and just
document the irregularity.
On Aug 12, 5:33 pm, sanedevil sanede...@gmail.com wrote:
And i thot it would
Create the model Contact.
Just change the property $useDbTable = 'con';
On Aug 12, 4:35 pm, Sam s...@masterscommission360.com wrote:
How many places in the application already use the Con class name?
Is there any way to change the table name? If not you can use
contact for everything
Erm I mean $useTable.
http://book.cakephp.org/view/1057/Model-Attributes#useTable-1059
On Aug 12, 4:35 pm, Sam s...@masterscommission360.com wrote:
How many places in the application already use the Con class name?
Is there any way to change the table name? If not you can use
contact for
On Thu, Aug 12, 2010 at 8:23 PM, Miles J mileswjohn...@gmail.com wrote:
Erm I mean $useTable.
http://book.cakephp.org/view/1057/Model-Attributes#useTable-1059
Yes, that should work. Then, switch to Linux. :-) That's just utterly
bizarre that Windows won't let you name something con (+
I looked it up- there are about 20 reserved words that you can't use
in windows file/folder name... throwbacks from the old dos days:
http://ionicflux.wordpress.com/2006/09/02/windows-reserved-words/
On Aug 12, 7:31 pm, cricket zijn.digi...@gmail.com wrote:
On Thu, Aug 12, 2010 at 8:23 PM, Miles
16 matches
Mail list logo