Validators Without Models

It can be handy if some validators can be used without models. I know now that email can be validated without model. It is good if some more validators support the same functionality. For example CBooleanValidator. There will be the best way to use yii core validators for any kind of validation.

It is needed to pull out some validate methods and make them autonomous and public for client code.

It’s already done. Check validateValue method.