This chapter explains how to write a model class to store data that will be sent from View to Controller using a form, with validating input, formatting data, and uploading files. In this chapter, we will cover the following topics:
The first step to manipulate data between View and Controller is to create a Model. A Model is a class that extends the
Model class located under
yii\base\, the base used for data models.
This is a suitable class for providing simple solutions in order to encapsulate ...