On Jul 18, 2006, at 9:31 AM, [EMAIL PROTECTED] wrote:
>
> I'm new to Cake, and am wondering how I access the pre-defined classes
> in the cake structure. I understand how to implement components, and
> helpers. Is there a special way at including certain classes such as
> the File, NeatString, or NeatArray classes.
The uses() function will automatically include CakePHP libraries for
you.
uses('sanitize', 'neat_array', 'neat_string');
After using uses(), you can create new instantiations of the objects.
-- John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---