What is CModel Class in Yii2?

Member

by sidney , in category: Technology , 3 years ago

What is CModel Class in Yii2?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by melvina , 3 years ago

Yii CModel is the base class that provides the common features needed by data model objects.CModel defines the basic framework for data models that need to be validated.All Models in Yii extends CModel class.