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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
a21250b5
Commit
a21250b5
authored
Apr 28, 2014
by
Paul Klimov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3275 from marsuboss/fix-docs-link
[Guide] Fix link
parents
87decc88
7da4d876
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 @
a21250b5
...
...
@@ -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.
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.
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.
...
...
docs/guide/data-grid.md
View file @
a21250b5
...
...
@@ -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.
-
`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,
button URLs will be created using
[
[yii\grid\ActionColumn
\
createUrl()
]
].
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()
]
].
#### Checkbox column
...
...
docs/guide/url.md
View file @
a21250b5
...
...
@@ -249,7 +249,7 @@ return [
### Handling REST requests
TBD:
-
RESTful routing:
[
[yii\filters\VerbFilter
]
],
[
[yii\
filters
\UrlManager::$rules
]
]
-
RESTful routing:
[
[yii\filters\VerbFilter
]
],
[
[yii\
web
\UrlManager::$rules
]
]
-
Json API:
-
response:
[
[yii\web\Response::format
]
]
-
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