> CakePHP is object-oriented, thus you would be encouraged to create a class 
> and a method inside it, not a bare function. To create a class you can use 
> from anywhere, put a file in APP/libs (for example my_class.php), make a 
> class in it (like "class MyClass"), and then import it wherever you want to 
> use it (using "App::Import('Lib', 'MyClass');").
>

Ow.. I got it. I'll try it. Maybe I'll be back if I just get in
trouble. Thanks for the guide, Ryan Schmidt. :D I am a new comer in
cakePHP..
-- 
Regards,,,
mastanto
http://www.mastanto.com
http://thom-sharing.blogspot.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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

Reply via email to