Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
4293c28a
Commit
4293c28a
authored
Jul 05, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
validation draft
parent
65cd163c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
validation.md
docs/guide/validation.md
+29
-0
No files found.
docs/guide/validation.md
View file @
4293c28a
Model validation reference
==========================
This guide section doesn't describe how validation works but instead describes all Yii validators and their parameters.
In order to learn model validation basics please refer to
[
Model, Validation subsection
](
model.md#Validation
)
.
Standard Yii validators
-----------------------
-
`boolean`
:
[
[BooleanValidator
]
]
-
`captcha`
:
[
[CaptchaValidator
]
]
-
`compare`
:
[
[CompareValidator
]
]
-
`date`
:
[
[DateValidator
]
]
-
`default`
:
[
[DefaultValueValidator
]
]
-
`double`
:
[
[NumberValidator
]
]
-
`email`
:
[
[EmailValidator
]
]
-
`exist`
:
[
[ExistValidator
]
]
-
`file`
:
[
[FileValidator
]
]
-
`filter`
:
[
[FilterValidator
]
]
-
`in`
:
[
[RangeValidator
]
]
-
`integer`
:
[
[NumberValidator
]
]
-
`match`
:
[
[RegularExpressionValidator
]
]
-
`required`
:
[
[RequiredValidator
]
]
-
`string`
:
[
[StringValidator
]
]
-
`unique`
:
[
[UniqueValidator
]
]
-
`url`
:
[
[UrlValidator
]
]
TBD: refer to http://www.yiiframework.com/wiki/56/ for the format
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment