Свойство | Type | Description | |
---|---|---|---|
$allowJsonp | boolean | ||
$controller | Controller | Reference to the current controller | |
$publicActions | array | List of actions that can be accessed without authentication | |
$request | CakeRequest | Reference to the current request | |
$response | CakeResponse | Reference to the current response |
Méthode | Description | |
---|---|---|
allowJsonp ( $value = true ) : void | Allow jsonp | |
allowPublic ( string $action ) : void | Allow public access to an action | |
beforeRedirect ( Controller $controller, mixed $url, integer $status = null, boolean $exit = true ) : void | beforeRedirection | |
beforeRender ( Controller $controller ) : void | beforeRender callback | |
denyPublic ( string $action ) : boolean | Deny public access to an action | |
hasError ( ) : boolean | Is the current controller an Error controller? | |
initialize ( Controller $controller ) : void | initialize callback | |
startup ( Controller $controller ) : void | startup method |
Méthode | Description | |
---|---|---|
configureApiAccess ( ) : void | Ensures that the current request is validated for Authentication | |
configureRequestDetectors ( ) : void | Configure detectors for API requests | |
setup ( Controller $controller ) : void | Setup method |
public allowPublic ( string $action ) : void | ||
$action | string | |
Résultat | void |
public beforeRender ( Controller $controller ) : void | ||
$controller | Controller | |
Résultat | void |
protected configureApiAccess ( ) : void | ||
Résultat | void |
protected configureRequestDetectors ( ) : void | ||
Résultat | void |
public denyPublic ( string $action ) : boolean | ||
$action | string | |
Résultat | boolean |
public initialize ( Controller $controller ) : void | ||
$controller | Controller | |
Résultat | void |
protected Controller $controller | ||
Résultat | Controller |
protected array $publicActions | ||
Résultat | array |
protected CakeRequest $request | ||
Résultat | CakeRequest |