ARForm based on Multiple Tables

Hi,

I am currently working with a very normalized database. I have a couple of situations where I would like to push data into two different tables off of the same form. I’m currently using the ARForms generated by gii and just modifying them to suit my needs. I would do what I’ve always done in PHP and write a series of insert statements to insert into each table separately but I can’t find anything about how Yii saves the data from the form besides a $model->save() function but I can’t find a definition to that anywhere either. Can I use the ARForms here or is there another technique in Yii that I can use or will I have to write something custom to do it?

Thanks,

-Nazum

P.S. - New to Yii by the way. Any help you can give is appreciated.

this will help

Cheers

Thank you much. I’ll check that out.