CakePHP Cookbook Documentation 5.xconditions: $array). New Features Improved type checking CakePHP 5 leverages the expanded type system feature available in PHP 8.1+. CakePHP also uses assert() to provide improved error messages and additional includes null values. Because this can be a tedious to enable feature, it was deferred to 5.0. We’d like any feedback you have on this feature as we’re considering making this the default behavior in the Testcase classes. data providers have to be static If your testcases leverage the data provider feature of PHPUnit then you have to adjust your data providers to be static: public function myProvider():0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xconditions: $array). New Features Improved type checking CakePHP 5 leverages the expanded type system feature available in PHP 8.1+. CakePHP also uses assert() to provide improved error messages and additional includes null values. Because this can be a tedious to enable feature, it was deferred to 5.0. We’d like any feedback you have on this feature as we’re considering making this the default behavior in the Documentation, Release 5.x data providers have to be static If your testcases leverage the data provider feature of PHPUnit then you have to adjust your data providers to be static: public function myProvider():0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
FormProtectionComponent for form tampering protection and the HTTPS Enforcer Middleware for requireSecure feature. Filesystem This package is deprecated and will be removed in 5.0. It has a number of design problems always matches 0 rows, thus returning incorrect results. When comparing with null you must use the IS operator like ['name IS' => null]. Stopping the Model.beforeSave event with a non-false, non-entity result Security Policy headers simpler. HttpsEnforcerMiddleware was added. This replaced the requireSecure feature of SecurityComponent. Cookies now support the SameSite attribute. I18n Date and FrozenDate now0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
Previously attachments would have defaulted to ‘application/octet-stream’. CakePHP now uses the ... operator in place of call_user_func_array(). If you are passing associative arrays, you should update your application/x-www-form-urlencoded is used instead. ORM You can now Lazily Eager Load Associations. This feature allows you to conditionally load additional associations into a result set, entity or collection with short_tags enabled. Support for the Asset.filter configuration and hooks were removed. This feature should be replaced with a plugin or dispatcher filter. Network Request CakeRequest has been renamed0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
FormProtectionComponent for form tampering protec- tion and the HTTPS Enforcer Middleware for requireSecure feature. 26 https://github.com/cakephp/app/blob/4.x/src/Application.php 27 https://github.com/cakephp/authentication always matches 0 rows, thus returning incorrect results. When comparing with null you must use the IS operator like ['name IS' => null]. • Stopping the Model.beforeSave event with a non-false, non-entity result Security Policy headers simpler. • HttpsEnforcerMiddleware was added. This replaced the requireSecure feature of SecurityComponent. • Cookies now support the SameSite attribute. I18n • Date and FrozenDate0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
Previously attachments would have defaulted to ‘application/octet-stream’. • CakePHP now uses the ... operator in place of call_user_func_array(). If you are passing associative arrays, you should update your application/x-www-form-urlencoded is used instead. ORM You can now Lazily Eager Load Associations. This feature allows you to conditionally load additional associations into a result set, entity or collection with short_tags enabled. • Support for the Asset.filter configuration and hooks were removed. This feature should be replaced with a plugin or dispatcher filter. Network Request • CakeRequest has been0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 2.x
wish to cover here for simplicity’s sake. Use the rest of this manual as a guide for building more feature-rich applications. Now that you’ve created a basic CakePHP application, you’re ready for the real changes to the following files. /app/webroot/index.php /app/webroot/test.php (if you use the Testing feature.) There are three constants that you’ll need to edit: ROOT, APP_DIR, and CAKE_CORE_INCLUDE_PATH this case, array('Order.destination' => 'Old Towne Bakery'). If you want to use a different SQL operator between terms, supply them using the second parameter: /* Contents of $this->request->data array(0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
wish to cover here for simplicity’s sake. Use the rest of this manual as a guide for building more feature-rich applications. Now that you’ve created a basic CakePHP application, you’re ready for the real the following files. • /app/webroot/index.php • /app/webroot/test.php (if you use the Testing feature.) There are three constants that you’ll need to edit: ROOT, APP_DIR, and CAKE_CORE_INCLUDE_PATH this case, array('Order. destination' => 'Old Towne Bakery'). If you want to use a different SQL operator between terms, supply them using the second parameter: /* Contents of $this->request->data array(0 码力 | 820 页 | 2.52 MB | 1 年前3
Falcon v3.0.0 Documentationeach error type. Tip Error handlers may be registered for any type, including HTTPError. This feature provides a central location for logging and otherwise handling exceptions raised by responders, hooks [http://falcon.readthedocs.io/en/stable/api/routing.html#field-converters]. We’ve discussed building on this feature to support consuming multiple path segments ala Flask. This work is currently planned to commence creating a positive, constructive, and productive culture. Submit Issues If you have an idea for a feature, run into something that is harder to use than it should be, or find a bug, please let the crew know0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 Documentationeach error type. Tip Error handlers may be registered for any type, including HTTPError. This feature provides a central location for logging and otherwise handling exceptions raised by responders, hooks [http://falcon.readthedocs.io/en/stable/api/routing.html#field-converters]. We’ve discussed building on this feature to support consuming multiple path segments ala Flask. This work is currently planned to commence creating a positive, constructive, and productive culture. Submit Issues If you have an idea for a feature, run into something that is harder to use than it should be, or find a bug, please let the crew know0 码力 | 1058 页 | 741.59 KB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













