Re: Easy way to import Models with their Controllers or vica versa

2009-03-17 Thread Fi
$controller->constructClasses(); worked nicely --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send emai

Easy way to import Models with their Controllers or vica versa

2009-03-17 Thread Fi
Hello, I have an controller with a model and no table and want to access other controllers and their models from it. This controller doesn't have any relation to these other controllers. Like so public function generate() { /* access other controllers and gather data */ } I tried using uses[]

SaveAll() with nested Models

2008-12-28 Thread Fi
Hello, SaveAll works great with the examples provided in the docs and through the majority of blogs. My Problem is that I want to Save three nested Models at once. Currently I do this with the help of transactions and some awkward validation. For example I have these Models: Test has many Questi