Extending your models

Hello everyone,

I want to know the best way of extending the models (AR), can anyone maybe guide me to the best practice?

Much appreciated,

-Tim

Can you give a little more detail, please? What do you mean with "extending"?

use your own class "ActiveRecord extends CActiveRecord" in your model:

model Exm:

class Exm extends ActiveRecord{

}