Archive for Yii

Easy Way to Run Yii’s yiic.php Command Line Tool (Windows)

To avoid having to change any PATH variables in your windows installation, you can run yiic.php commands by defining the exact path to your php.exe file in your PHP installation.

Read more

Using Yii Framework Validators Outside of a Form

The Yii Framework comes bundled with a large collection of validation methods used to validate user input data in a form. In some situations you might want to validate data outside of a form, and instead of rolling your own validation methods it is best to hook into the existing Yii ones. For example, in [...]

Read more