Wiki articles tagged with "Scenarios"

Showing 1-3 of 3 items.

"safe" and "unsafe" Model validators (massive assignments)

Created 12 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 8 years ago by brianvu brianvu.

Ok, it is a little bit difficult to full understanding the unsafe validator.

2 2
7 followers
Viewed: 38 280 times
Version: 1.1
Category: How-tos

Activate captcha after unsuccessful login attempts

Created 12 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 11 years ago by Rohit Suthar Rohit Suthar.

Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

4 1
15 followers
Viewed: 40 330 times
Version: 1.1
Category: How-tos

Understanding Scenarios

Created 13 years ago by Luke Jurgs Luke Jurgs, updated 12 years ago by Luke Jurgs Luke Jurgs.

Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

23 0
39 followers
Viewed: 183 783 times
Version: 1.1
Category: Tutorials