I have set up a controller that uses a differently named model.
class BlogController extends AppController {
...
$uses = array('Post');
...
}In one of the methods I would like to use generateFieldNames, but it by default searched for the model $this->modelClass, what is Blog. Should I be concerned about changeing $this->modelClass = 'Post' or I can do it freely? What would you recommend to me, to change it in the method of to do it in the class itself? thx for your advices! V --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
