Views - AR Classes Update

Usually when have Active Records Classes there are correspondingly the proper views to handle them.

$student = AR_Student::finder()->findByPk(1); $this->tryToUpdateView($student);

Also you can do the reverse operation.

$student = new AR_Student(); $this->tryToUpdateAR($student); $student->save();
Info: When an AR class attribute does not match any of the controls IDs on the view, nothing will happen