icron/yii-dynamic-model DynamicModel is a model class primarily used to support ad hoc data validation

extensionvalidationdynamicmodel

DynamicModel for Yii1

Latest Version Software License Total Downloads

DynamicModel is a model class primarily used to support ad hoc data validation. The typical usage of DynamicModel is as follows,

  $model = new DynamicModel(
      ['name', 'email'],
      [
         ['name, email', 'length', 'max' => 50],
      ]
  );
  if ($model->hasErrors()) {
      // validation fails
  } else {
      // validation succeeds
  }

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v0.1 is the latest of one release



BSD license
Stats
4 github stars & 2 github forks
0 downloads in the last day
2 downloads in the last 30 days
2314 total downloads