CakePHP Cookbook Documentation 5.xModel Controller::paginate() Configuring Components to Load Controller::loadComponent() Request Life-cycle Callbacks Event List Controller Callback Methods Controller Middleware Controller::middleware() firm', 303); See the Using Redirects in Component Events section for how to redirect out of a life-cycle handler. Forwarding to an Action on the Same Controller Cake\Controller\Controller::setAction($action Configure::read('Comments')); } Request Life-cycle Callbacks CakePHP controllers trigger several events/callbacks that you can use to insert logic around the request life-cycle: Event List Controller.initialize0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
Additional Models Paginating a Model Configuring Components to Load Configuring Helpers to Load Request Life-cycle Callbacks Event List Controller Callback Methods More on Controllers The Pages Controller Components code related to a specific feature or concept. Components can hook into the controller’s event life-cycle and interact with your application that way. To get started, we’ll add the AuthComponent to our related to a specific feature or concept. Components can also hook into the controller’s event life-cycle and interact with your application that way. To get started, we’ll add the AuthComponent to our0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
Model Controller::paginate() Configuring Components to Load Controller::loadComponent() Request Life-cycle Callbacks Event List Controller Callback Methods Controller Middleware Controller::middleware() related to a specific feature or concept. Components can also hook into the controller’s event life-cycle and interact with your application that way. To get started, we’ll add the AuthComponent to our firm', 303); See the Using Redirects in Component Events section for how to redirect out of a life-cycle handler. Forwarding to an Action on the Same Controller Cake\Controller\Controller::setAction($action0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.xLoad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 Request Life-cycle Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 firm', 303); See the Using Redirects in Component Events section for how to redirect out of a life-cycle handler. 192 Chapter 10. Controllers CakePHP Cookbook Documentation, Release 5.x Forwarding Configure::read('Comments')); } Request Life-cycle Callbacks CakePHP controllers trigger several events/callbacks that you can use to insert logic around the request life-cycle: Event List • Controller.initialize0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 Request Life-cycle Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 code related to a specific feature or concept. Components can hook into the controller’s event life-cycle and interact with your application that way. To get started, we’ll add the AuthComponent to our related to a specific feature or concept. Components can also hook into the controller’s event life-cycle and interact with your application that way. To get started, we’ll add the AuthComponent to our0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 Request Life-cycle Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 related to a specific feature or concept. Components can also hook into the controller’s event life-cycle and interact with your application that way. To get started, we’ll add the AuthComponent to our firm', 303); See the Using Redirects in Component Events section for how to redirect out of a life-cycle handler. Forwarding to an Action on the Same Controller Cake\Controller\Controller::setAction($action0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
in your Language Controllers The App Controller Request parameters Controller actions Request Life-cycle callbacks Controller Methods Interacting with Views Flow Control Callbacks Other Useful Methods CakePHP’s controllers. Request Life-cycle callbacks class Controller CakePHP controllers come fitted with callbacks you can use to insert logic around the request life-cycle: Controller::beforeFilter() after rendering is complete. This is the last controller method to run. In addition to controller life-cycle callbacks, Components also provide a similar set of callbacks. Controller Methods For a complete0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Request Life-cycle callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 CakePHP’s controllers. Request Life-cycle callbacks class Controller CakePHP controllers come fitted with callbacks you can use to insert logic around the request life-cycle: Controller::beforeFilter() controller. It’s a handy place to check for an active session or inspect user permissions. Request Life-cycle callbacks 45 CakePHP Cookbook Documentation, Release 2.x Note: The beforeFilter() method will0 码力 | 820 页 | 2.52 MB | 1 年前3
Falcon v3.0.0 Documentationstandards to innovate around common, self-contained capabilities. And so when ASGI arrived on the scene, we saw it as the perfect opportunity to deliver long-requested asyncio and WebSocket features while0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationstandards to innovate around common, self-contained capabilities. And so when ASGI arrived on the scene, we saw it as the perfect opportunity to deliver long-requested asyncio and WebSocket features while0 码力 | 344 页 | 1.16 MB | 1 年前3
共 24 条
- 1
- 2
- 3













