CakePHP Cookbook 3.x
Automatically Choosing the Locale Based on Request Data Logging Logging Configuration Creating Log Adapters Error and Exception Logging Interacting with Log Streams Using the FileLog Adapter Logging to Syslog Bodies Accessing Response Headers Accessing Cookie Data Checking the Status Code Changing Transport Adapters Inflector Summary of Inflector Methods and Their Output Creating Plural & Singular Forms Creating Note Loggers are required to implement the Psr\Log\LoggerInterface interface. Creating Log Adapters Log adapters can be part of your application, or part of plugins. If for example you had a database logger0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 2.x
update option. You also should set evalScripts to true if you are using the Mootools or Prototype adapters, without evalScripts these libraries will not be able to chain requests together. The indicator AuthComponent::isAuthorized($user = null, $request = null) Uses the configured Authorization adapters to check whether or not a user is authorized. Each adapter will be checked in sequence, if any of Cache You can provide custom Cache adapters in app/Lib as well as in plugins using $plugin/Lib. App/plugin cache engines can also override the core engines. Cache adapters must be in a cache directory. If0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
update option. You also should set evalScripts to true if you are using the Mootools or Prototype adapters, without evalScripts these libraries will not be able to chain requests together. The indicator AuthComponent::isAuthorized($user = null, $request = null) Uses the configured Authorization adapters to check whether or not a user is authorized. Each adapter will be checked in sequence, if any of Cache You can provide custom Cache adapters in app/Lib as well as in plugins using $plugin/Lib. App/plugin cache engines can also override the core engines. Cache adapters must be in a cache directory. If0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 893 vi Changing Transport Adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 895 35 Inflector Note: Loggers are required to implement the Psr\Log\LoggerInterface interface. Creating Log Adapters Log adapters can be part of your application, or part of plugins. If for example you had a database logger plugin it would be placed in plugins/LoggingPack/src/Log/Engine/DatabaseLog.php. To configure log adapters you should use Cake\Log\Log::config(). For example configuring our DatabaseLog would look like:0 码力 | 967 页 | 2.80 MB | 1 年前3
Learning LaravelFlysystem is not limited to these and has adapters for many other storage systems. You can create a custom driver if you want to use one of these additional adapters in your Laravel application. Don't worry0 码力 | 216 页 | 1.58 MB | 1 年前3
CakePHP Cookbook Documentation 5.xBodies Accessing Response Headers Accessing Cookie Data Checking the Status Code Changing Transport Adapters Testing HttpClientTrait Inflector Inflector Summary of Inflector Methods and Their Output Creating their CakePHP applications. If you’ve created great user management, a simple blog, or web service adapters in one of your applications, why not package it as a CakePHP plugin? This way you can reuse it in $response->isRedirect(); // Get the status code $response->getStatusCode(); Changing Transport Adapters By default Http\Client will prefer using a curl based transport adapter. If the curl extension0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Bodies Accessing Response Headers Accessing Cookie Data Checking the Status Code Changing Transport Adapters Testing HttpClientTrait Inflector Inflector Summary of Inflector Methods and Their Output Creating their CakePHP applications. If you’ve created great user management, a simple blog, or web service adapters in one of your applications, why not package it as a CakePHP plugin? This way you can reuse it in $response->isRedirect(); // Get the status code $response->getStatusCode(); Changing Transport Adapters By default Http\Client will prefer using a curl based transport adapter. If the curl extension0 码力 | 1249 页 | 1.04 MB | 1 年前3
Falcon v3.0.0-b2 Documentationto 'Falcon App'. 5.4.15 Utilities • URI • Date and Time • HTTP Status • Async – Aliases – Adapters • Other URI URI utilities. This module provides utility functions to parse, encode, decode, create_task(coro) Schedule the execution of a coroutine object in a spawn task. Return a Task object. Adapters These functions help traverse the barrier between sync and async code. async falcon.sync_to_async(func0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationto 'Falcon App'. 5.4.15 Utilities • URI • Date and Time • HTTP Status • Async – Aliases – Adapters • Other URI URI utilities. This module provides utility functions to parse, encode, decode, create_task(coro) Schedule the execution of a coroutine object in a spawn task. Return a Task object. Adapters These functions help traverse the barrier between sync and async code. async falcon.sync_to_async(func0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationto 'Falcon App'. 5.4.15 Utilities • URI • Date and Time • HTTP Status • Async – Aliases – Adapters • Other URI URI utilities. This module provides utility functions to parse, encode, decode, create_task(coro) Schedule the execution of a coroutine object in a spawn task. Return a Task object. Adapters These functions help traverse the barrier between sync and async code. async falcon.sync_to_async(func0 码力 | 344 页 | 1.16 MB | 1 年前3
共 29 条
- 1
- 2
- 3













