Wiki

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

Activate captcha after unsuccessful login attempts

Created about a year ago by KonApazHow-tos19 comments – viewed 10,527 times – ( +9 / -1 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

Understanding Scenarios

Created 2 years ago by Luke JurgsTutorials11 comments – viewed 71,375 times – ( +26 ) – 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.

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

Created 12 months ago by KonApazHow-tos4 comments – viewed 8,583 times – ( +4 / -6 )
Ok, it is a little bit difficult to full understanding the unsafe validator.