You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure your application has been set up to use data views; see the [Enabling Data Views in Your Application](http://book.cakephp.org/3.0/en/views/json-and-xml-views.html#enabling-data-views-in-your-application) section of the CakePHP documentation.
29
+
Make sure your application has been set up to use data views; see the
30
+
[Enabling Data Views in Your Application][link-dataviews] section of the CakePHP
31
+
documentation.
30
32
31
33
Then, load `ApiPaginationComponent`:
32
34
@@ -78,8 +80,8 @@ ApiPagination has three keys for configuration: `key`, `aliases`, and `visible`.
78
80
*`aliases` allows you to change names of the pagination detail keys.
79
81
80
82
*`visible` allows you to set which pagination keys will be exposed in the
81
-
response. **Note:** Whenever setting keys' visibility, make sure to use the aliased name
82
-
if you've given it one.
83
+
response. **Note:** Whenever setting a key's visibility, make sure to use the
84
+
aliased name if you've given it one.
83
85
84
86
An example using all these configuration keys:
85
87
@@ -115,7 +117,8 @@ This configuration would yield:
115
117
116
118
## Changelog
117
119
118
-
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
120
+
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed
121
+
recently.
119
122
120
123
## Testing
121
124
@@ -129,7 +132,8 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
129
132
130
133
## Security
131
134
132
-
If you discover any security related issues, please email bryan@bryan-crowe.com instead of using the issue tracker.
135
+
If you discover any security related issues, please email bryan@bryan-crowe.com
136
+
instead of using the issue tracker.
133
137
134
138
## Credits
135
139
@@ -138,7 +142,8 @@ If you discover any security related issues, please email bryan@bryan-crowe.com
138
142
139
143
## License
140
144
141
-
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
145
+
The MIT License (MIT). Please see [License File](LICENSE.md) for more
0 commit comments