CakePHP Cookbook 2.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 7 Core Libraries 331 General Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . modifying Application Extensions. • Finally, the vendors folder is where you’ll place third-party PHP libraries you need to use with your CakePHP applications. The App Folder CakePHP’s app folder is where you components. Lib Contains libraries that do not come from 3rd parties or external vendors. This allows you to separate your organi- zation’s internal libraries from vendor libraries. Locale Stores string0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 2.x
DataSources Model Attributes Additional Methods and Properties Virtual fields Transactions Core Libraries General Purpose General Purpose Behaviors Behaviors Components Components Helpers Helpers modifying Application Extensions. Finally, the vendors folder is where you’ll place third-party PHP libraries you need to use with your CakePHP applications. The App Folder CakePHP’s app folder is where you components. Lib Contains libraries that do not come from 3rd parties or external vendors. This allows you to separate your organization’s internal libraries from vendor libraries. Locale Stores string0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook Documentation 5.xyour log config. Mailer Email has been removed. Use Mailer [https://book.cakephp.org/5/en/core-libraries/email.html] instead. cake.mailer has been added as an alternative to the email scope ORM EntityTrait::has() roles. Roles can be configured with read and write keys in the connection config that override the shared config. Query::all() was added which runs result decorator callbacks and returns a result set for org/psr/psr-17/] factories interface. This allows cakephp/http to provide a client implementation to libraries that allow automatic interface resolution like php-http. Added CookieCollection::__get() and Co0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
the new HTTP stack, you can take advantage of features like: Using middleware from plugins, and libraries outside of CakePHP. Leverage the same response object methods in both the responses you get from PHP 5.5.9. By adopting PHP 5.5 we can provide better Date and Time libraries and remove dependencies on password compatibility libraries. Deprecations As we continue to improve CakePHP, certain features CakePHP should be installed with Composer Since CakePHP can no longer be installed via PEAR, or in a shared directory, those options are no longer supported. Instead you should use Composer [https://getcomposer0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
container, introduced in CakePHP 4.2, is now considered stable. Database The SQLite driver now supports shared in memory databases in PHP8.1+. Query::expr() was added as an alternative to Query::newExpr(). The roles. Roles can be configured with read and write keys in the connection config that override the shared config. ConnectionManager::aliases() was added. SelectQuery::setConnectionRole(), SelectQuery::useReadRole() function in two or more files, eg. debug object is referenced in /development/debugging and in /core-libraries/global-constants-and-functions. In this case, you can add :noindex: under the function debug to0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
new HTTP stack, you can take advantage of features like: • Using middleware from plugins, and libraries outside of CakePHP. • Leverage the same response object methods in both the responses you get from PHP 5.5.9. By adopting PHP 5.5 we can provide better Date and Time libraries and remove dependencies on password compatibility libraries. Deprecations As we continue to improve CakePHP, certain features CakePHP should be installed with Composer Since CakePHP can no longer be installed via PEAR, or in a shared directory, those options are no longer supported. Instead you should use Composer31 to install CakePHP0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.xremoved. Use \Cake\Http\Exception\RedirectException instead. 33 https://book.cakephp.org/5/en/core-libraries/email.html 5.0 Migration Guide 37 CakePHP Cookbook Documentation, Release 5.x TestSuite • TestSuite roles. Roles can be configured with read and write keys in the connection config that override the shared config. • Query::all() was added which runs result decorator callbacks and returns a result set for PSR-1735 factories interface. This allows cakephp/http to provide a client implementation to libraries that allow automatic interface resolution like php-http. • Added CookieCollection::__get() and0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
introduced in CakePHP 4.2, is now considered stable. Database • The SQLite driver now supports shared in memory databases in PHP8.1+. • Query::expr() was added as an alternative to Query::newExpr() roles. Roles can be configured with read and write keys in the connection config that override the shared config. • ConnectionManager::aliases() was added. • SelectQuery::setConnectionRole(), SelectQuery::useReadRole() function in two or more files, eg. debug object is referenced in /development/debugging and in /core-libraries/global-constants-and-functions. In this case, you can add :noindex: under the function debug to0 码力 | 967 页 | 2.88 MB | 1 年前3
The PHP Handbook
month'); echo strtotime('last Sunday'); ..it’s pretty flexible. For dates it’s common to use libraries that offer a lot more functionality than what the language can. A good option is Carbon. 20. Constants there are more functions to work with files. 21.9. PHP and databases PHP offers various built-in libraries to work with databases, for example: 82 PostgreSQL MySQL / MariaDB MongoDB I do not cover this tend to reach the spam folder more often than not. But for quick testing this is just helpful. Libraries like https://github.com/PHPMailer/PHPMailer will be super helpful for more solid needs, using0 码力 | 97 页 | 8.78 MB | 1 年前3
Guzzle PHP v5 Documentationinterfaces for requests, responses, and streams. This allows you to utilize other PSR-7 compatible libraries with Guzzle. • Abstracts away the underlying HTTP transport, allowing you to write environment can set cookies to true in a client constructor if you would like to use a shared cookie jar for all requests. // Use a shared client cookie jar $client = new \GuzzleHttp\Client(['cookies' => true]); $r Guzzle, Release Tip: When creating a client, you can set the default cookie option to true to use a shared cookie session associated with the client. connect_timeout Summary Float describing the number0 码力 | 49 页 | 231.08 KB | 11 月前3
共 65 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













