Manually Editing Data Models and Yii Components
Open model/User.php and find the rules() method. This function runs a validation on our user input, once again another impressive security feature of “sanitizing data” that Yii handles for us automatically. By default, …
Read more








