Wiki articles tagged with "validator"

Showing 1-3 of 3 items.

Add model validator in Controller

Created 10 years ago by Kostas Apazidis (KonApaz), updated 10 years ago by Kostas Apazidis (KonApaz).

There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way

1 1
3 followers
Viewed: 31 809 times
Version: 1.1
Category: Tips

Create your own Validation Rule

Created 13 years ago by nickcv, updated 12 years ago by Gismo.

Some times the core validation rules provided by Yii won't satisfy all your needs, so you'll need to create your very own validation rule.

59 0
54 followers
Viewed: 276 172 times
Version: 1.1
Category: How-tos

Reference: Model rules validation

Created 15 years ago by krillzip, updated 11 years ago by Rodrigo.

This is a reference to be used for Model rule validation and is compiled from the Yii documentation and code. The purpose is to have all the information gathered in one place instead of scattered. This reference is not an intro. See The Definitive Guide to Yii, Declaring Validation Rules for a tutorial.

99 0
114 followers
Viewed: 892 155 times
Version: 1.1
Category: How-tos