I have had a look around the web and can't find a good explanation.
Using Gii I generate models. I was wondering how I can get the generator to also add a custom method to all of my models I generate? I want to add a method where I pass it the result of a "->queryAll()" and it maps it to itself for me.
Thanks in advance