Let me make sure I understand what you're saying.
In this particular case I should create a model called "File" that has
a method called "getExtension()".
In my controller I can then use the method by declaring uses('File').
and calling:
$ext = $File->getExtension($myFile);
Is that what you were getting at?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---