BaseModuleAR class with MultiActiveRecord

Comparing #1 with #2

Revision #2 was created by Gustavo Gustavo on Jul 23, 2011, 2:29:40 PM.

fixed link to the extension

Content

[MultiActiveRecord [](http://www.yiiframework.com/extension/multiactiverecord/] "MultiActiveRecord") is an extension that add support for multiple database connection for your application.

Imagine that you have to dev for several projects at once. You want to share the same repo of extensions and components, but do not want to copy them over and over between project.

Fortunately, you can using Gii to create a module layout, set up a ModuleBaseActiveRecord class, and using it as a base class for your module models.
[...]