Subject: Change ActiveRecord\Model By Another Name
I'm learning to use MVC and I'm also learning to use ActiveRecord For now I got to create a model, view and controller. I have also integrated activerecord and works well.
But I have a question ...
My models are as follows:
class Book extends ActiveRecord \ Model
But I want to be like this:
class Book extends AppModel
Is this possible? How?
AppModel must inherit from ActiveRecord \ Model Right? I'm trying to do, but I get errors.
Subject: Change ActiveRecord\Model By Another Name
I'm learning to use MVC and I'm also learning to use ActiveRecord
For now I got to create a model, view and controller. I have also integrated activerecord and works well.
But I have a question ...
My models are as follows:
class Book extends ActiveRecord \ Model
But I want to be like this:
class Book extends AppModel
Is this possible? How?
AppModel must inherit from ActiveRecord \ Model
Right?
I'm trying to do, but I get errors.
Greetings,