Wiki articles tagged with "validator"

Showing 1-3 of 3 items.

Add model validator in Controller

Created 10 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 10 years ago by Kostas Apazidis (KonApaz) 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: 33 241 times
Version: 1.1
Category: Tips

Create your own Validation Rule

Created 14 years ago by nickcv nickcv, updated 12 years ago by Gismo 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: 280 200 times
Version: 1.1
Category: How-tos

Reference: Model rules validation

Created 15 years ago by krillzip krillzip, updated 11 years ago by Rodrigo 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: 901 307 times
Version: 1.1
Category: How-tos