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
7da4d876
Commit
7da4d876
authored
Apr 28, 2014
by
MarsuBoss
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix link
parent
87decc88
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
authorization.md
docs/guide/authorization.md
+1
-1
data-grid.md
docs/guide/data-grid.md
+2
-2
url.md
docs/guide/url.md
+1
-1
No files found.
docs/guide/authorization.md
View file @
7da4d876
...
@@ -94,7 +94,7 @@ Two special roles are recognized, and they are checked via [[yii\web\User::isGue
...
@@ -94,7 +94,7 @@ Two special roles are recognized, and they are checked via [[yii\web\User::isGue
Using other role names requires RBAC (to be described in the next section), and
[
[yii\web\User::can()
]
] will be called.
Using other role names requires RBAC (to be described in the next section), and
[
[yii\web\User::can()
]
] will be called.
If this option is empty or not set, it means this rule applies to all roles.
If this option is empty or not set, it means this rule applies to all roles.
*
[
[yii\filters\AccessRule::ips|ips
]
]: specifies which
[
[yii\web\Request::
Request::
userIP|client IP addresses
]
] this rule matches.
*
[
[yii\filters\AccessRule::ips|ips
]
]: specifies which
[
[yii\web\Request::userIP|client IP addresses
]
] this rule matches.
An IP address can contain the wildcard
`*`
at the end so that it matches IP addresses with the same prefix.
An IP address can contain the wildcard
`*`
at the end so that it matches IP addresses with the same prefix.
For example, '192.168.
*
' matches all IP addresses in the segment '192.168.'. If this option is empty or not set,
For example, '192.168.
*
' matches all IP addresses in the segment '192.168.'. If this option is empty or not set,
it means this rule applies to all IP addresses.
it means this rule applies to all IP addresses.
...
...
docs/guide/data-grid.md
View file @
7da4d876
...
@@ -141,8 +141,8 @@ In the code above `$url` is the URL that the column creates for the button, and
...
@@ -141,8 +141,8 @@ In the code above `$url` is the URL that the column creates for the button, and
rendered for the current row.
rendered for the current row.
-
`urlCreator`
is a callback that creates a button URL using the specified model information. The signature of
-
`urlCreator`
is a callback that creates a button URL using the specified model information. The signature of
the callback should be the same as that of
[
[yii\grid\ActionColumn
\
createUrl()
]
]. If this property is not set,
the callback should be the same as that of
[
[yii\grid\ActionColumn
::
createUrl()
]
]. If this property is not set,
button URLs will be created using
[
[yii\grid\ActionColumn
\
createUrl()
]
].
button URLs will be created using
[
[yii\grid\ActionColumn
::
createUrl()
]
].
#### Checkbox column
#### Checkbox column
...
...
docs/guide/url.md
View file @
7da4d876
...
@@ -249,7 +249,7 @@ return [
...
@@ -249,7 +249,7 @@ return [
### Handling REST requests
### Handling REST requests
TBD:
TBD:
-
RESTful routing:
[
[yii\filters\VerbFilter
]
],
[
[yii\
filters
\UrlManager::$rules
]
]
-
RESTful routing:
[
[yii\filters\VerbFilter
]
],
[
[yii\
web
\UrlManager::$rules
]
]
-
Json API:
-
Json API:
-
response:
[
[yii\web\Response::format
]
]
-
response:
[
[yii\web\Response::format
]
]
-
request:
[
[yii\web\Request::$parsers
]
],
[
[yii\web\JsonParser
]
]
-
request:
[
[yii\web\Request::$parsers
]
],
[
[yii\web\JsonParser
]
]
...
...
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