What is CModel Class in Yii2?

Member

sidney

by sidney , in category: Technology , 2 months ago

What is CModel Class in Yii2?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by melvina , 2 months 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.