CFormModel
represents a data model that collects HTML form inputs. The data collected by CFormModel
are stored in memory only instead of a database. Therefore to collect user inputs, you may extend CFormModel
and define the attributes whose values are collected from user inputs.