What are the type of models available in yii framework ?
Answer Posted / Amrita Tiwari
Yii provides three types of models: Active Record, DOActiveRecord, and Data Model. The Active Record pattern maps database tables to PHP classes that can perform CRUD operations using methods like findByPk(), save(), delete(), etc.nDOActiveRecord is similar to Active Record but uses the Doctrine ORM library for database operations.nData Model does not map to a specific database table and allows you to define your own database access logic.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers