Guide
API
Wiki
Forum
Community
Live Chat
Extensions
Resources
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
What is Yii?
Release Cycle
News
License
Team
Official Logos and Design
Login
Yii Framework Wiki
Write
new article
Categories
All
Tips
342
How-tos
445
Tutorials
289
FAQs
45
Others
56
Popular Tags
All
yii2
90
CGridView
69
AJAX
57
Yii
48
tutorial
39
model
31
i18n
30
authentication
28
security
26
database
24
Recent Comments
E.Alamo
on
PHP built-in server integration
2 months ago
coderevolts
on
Implementing cron jobs with Yii
3 months ago
Néstor Acevedo
on
Filter & Sort by calculated/related fields in GridView Yii 2.0
6 months ago
Kamil Pomykała
on
JWT authentication tutorial
11 months ago
JQL
on
How to add a DropDown Language Picker (i18n) to the Menu
a year ago
Create your own Validation Rule
- History
Total
9
items.
#
Memo
Updater
Updated At
Actions
9
fix "version"
Gismo
Nov 12, 2012, 4:19:49 PM
view diff
revert to
8
Add russian version
Gismo
Nov 12, 2012, 4:19:17 PM
view diff
revert to
7
actually, not :) (undoing my last update), as its not in line with parent abstract declaration for this method (which is a bug IMHO, I'll report to the Yii team)
Boaz
May 14, 2012, 12:41:35 PM
view diff
revert to
6
adding type declaration (CModel) to the example validateAttribute() method.
Boaz
May 14, 2012, 12:37:38 PM
view diff
revert to
5
added missing constants
marcanuy
Oct 9, 2011, 12:33:20 AM
view diff
revert to
4
fix typos
Orteko
Apr 18, 2011, 6:10:20 AM
view diff
revert to
3
(not set)
qiang
Apr 6, 2011, 12:21:50 AM
view diff
revert to
2
made correction to headers
nickcv
Mar 31, 2011, 9:41:23 AM
view diff
revert to
1
(not set)
nickcv
Mar 31, 2011, 9:32:06 AM
view diff
revert to
Select exactly two versions for comparison.
Compare Versions
59
0
54
followers
Viewed:
276 577 times
Version:
1.1
Category:
How-tos
Tags:
create validator
,
model validation
,
validation rules
,
validator
Written by:
nickcv
Last updated by:
Gismo
Created on:
Mar 31, 2011
Last updated:
12 years ago
Update Article
Revisions
View all history
12 years ago
by
Gismo
fix "version"
12 years ago
by
Gismo
Add russian version
12 years ago
by
Boaz
actually, not :) (undoing my last update...
12 years ago
by
Boaz
adding type declaration (CModel) to the...
13 years ago
by
marcanuy
added missing constants
13 years ago
by
Orteko
fix typos
13 years ago
by
qiang
13 years ago
by
nickcv
made correction to headers
13 years ago
by
nickcv