mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 21:12:41 +00:00
double spaces to single ones
This commit is contained in:
parent
a8bd7c6678
commit
b811afbc44
133 changed files with 654 additions and 654 deletions
|
@ -18,14 +18,14 @@
|
|||
App::uses('ComponentCollection', 'Controller');
|
||||
|
||||
/**
|
||||
* Base class for an individual Component. Components provide reusable bits of
|
||||
* controller logic that can be composed into a controller. Components also
|
||||
* Base class for an individual Component. Components provide reusable bits of
|
||||
* controller logic that can be composed into a controller. Components also
|
||||
* provide request life-cycle callbacks for injecting logic at specific points.
|
||||
*
|
||||
* ## Life cycle callbacks
|
||||
*
|
||||
* Components can provide several callbacks that are fired at various stages of the request
|
||||
* cycle. The available callbacks are:
|
||||
* cycle. The available callbacks are:
|
||||
*
|
||||
* - `initialize()` - Fired before the controller's beforeFilter method.
|
||||
* - `startup()` - Fired after the controller's beforeFilter method.
|
||||
|
@ -141,10 +141,10 @@ class Component extends Object {
|
|||
}
|
||||
|
||||
/**
|
||||
* Called before Controller::redirect(). Allows you to replace the url that will
|
||||
* Called before Controller::redirect(). Allows you to replace the url that will
|
||||
* be redirected to with a new url. The return of this method can either be an array or a string.
|
||||
*
|
||||
* If the return is an array and contains a 'url' key. You may also supply the following:
|
||||
* If the return is an array and contains a 'url' key. You may also supply the following:
|
||||
*
|
||||
* - `status` The status code for the redirect
|
||||
* - `exit` Whether or not the redirect should exit.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue