Wiki

Articles tagged with "scenarios", sorted by date (updated)X
Displaying 1-3 of 3 result(s).

Activate captcha after unsuccessful login attempts

Updated 6 months ago by Rohit SutharHow-tos21 comments – viewed 14,115 times – ( +11 / -1 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

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

Updated about a year ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 11,490 times – ( +4 / -6 )
Ok, it is a little bit difficult to full understanding the unsafe validator.

Understanding Scenarios

Updated about a year ago by Luke JurgsTutorials11 comments – viewed 85,379 times – ( +29 ) – version 1.1
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.