Re: Adding/Calling a new class in my application... how please ?

2007-04-10 Thread Samuel DeVore
you know I was looking in the manual to help him and I couldn't really find a good part on this. the best I could find was that little bit in the constants/ global function part. where should we steer him?? On 4/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Dude, look in the manual! >

Re: Adding/Calling a new class in my application... how please ?

2007-04-10 Thread [EMAIL PROTECTED]
Dude, look in the manual! On Apr 10, 9:17 pm, "Dan Ballance" <[EMAIL PROTECTED]> wrote: > Hello good people of the list ! > > I would like to use the php class available here: > > http://lwest.free.fr/doc/php/lib/date-en.html > > to handle dates. I have downloaded their file date.php and tried dr

Re: Adding/Calling a new class in my application... how please ?

2007-04-10 Thread Samuel DeVore
try putting it in /app/vendors see http://manual.cakephp.org/chapter/constants for some information but if it is in vendor then you should be able to do vendor('date'); I would beware if you are using any of the PEAR stuff since there is a date class in there that might cause a conflict On

Re: Adding/Calling a new class in my application... how please ?

2007-04-10 Thread jonathan.snook
you should never have to touch anything in the cake folder. To include a custom class, you'll need to drop it into the vendors folder -- either the one in the root or the one in the app folder if you only want to use it for this project. From there, you can include it in an action with "vendor('fi

Adding/Calling a new class in my application... how please ?

2007-04-10 Thread Dan Ballance
Hello good people of the list ! I would like to use the php class available here: http://lwest.free.fr/doc/php/lib/date-en.html to handle dates. I have downloaded their file date.php and tried dropping it into cake/libs, but when i try to call it from a controller, i get: Fatal error: Undefined