CakePHP Cookbook 4.x
Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Your Plugins using Mixer REST The Simple Setup Accepting Input in Other Formats RESTful Routing Security Security Utility Security [https://github.com/cakephp/app/blob/4.x/src/Application.php] on GitHub. If you are providing some kind of REST API, don’t forget to include the Body Parser Middleware. Finally, you should consider upgrading to As a consequence the middlewares now implement Psr\Http\Server\MiddlewareInterface. CakePHP 3.x style invokable double pass middlewares are still supported for backwards compatibility. Cake\Http\Client0 码力 | 1249 页 | 1.04 MB | 1 年前3CakePHP Cookbook 4.x
using Mixer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751 25 REST 753 The Simple Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . cakephp/app. You can find the current Application.php26 on GitHub. If you are providing some kind of REST API, don’t forget to include the body-parser-middleware. Finally, you should consider upgrading to As a consequence the mid- dlewares now implement Psr\Http\Server\MiddlewareInterface. CakePHP 3.x style invokable double pass middlewares are still supported for backwards compatibility. • Cake\Http\Client0 码力 | 967 页 | 2.88 MB | 1 年前3CakePHP Cookbook 3.x
Installing a Plugin Manually Autoloading Plugin Classes Loading a Plugin Plugin Hook Configuration Old Style Plugins Using Plugin Classes Creating Your Own Plugins Creating a Plugin Using Bake Plugin Objects Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Your Plugins using Mixer REST The Simple Setup Accepting Input in Other Formats RESTful Routing Security Security Utility Encrypting ) and Number::setDefaultCurrencyFormat() were added. These methods let you define the formatting style for currency values. The setJsonEncodeFormat method on Time, FrozenTime, Date and FrozenDate now accepts0 码力 | 1244 页 | 1.05 MB | 1 年前3CakePHP Cookbook 2.x
Creating Tests for Plugins Integration with Jenkins REST The Simple Setup Accepting Input in Other Formats Modifying the default REST routes Custom REST Routing Dispatcher Filters Configuring Filters Filter features to offer, and is flexible in ways we didn’t 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 a basic CakePHP application, you’re ready for the real thing. Start your own project and read the rest of the Cookbook and API [https://api.cakephp.org]. If you need help, there are many ways to get the0 码力 | 1096 页 | 958.62 KB | 1 年前3CakePHP Cookbook Documentation 5.x
Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Your Plugins using Mixer REST Getting Started Encoding Response Data Parsing Request Bodies Security Security Utility Security update -W and check its output. Update app files based upon latest app template Next, ensure the rest of your application has been updated to be based upon the latest version of cakephp/app [https://github $article = $this->Articles->newEmptyEntity(); $this->Authorization->authorize($article); // Rest of the method } public function edit($slug) { $article = $this->Articles ->findBySlug($slug)0 码力 | 1080 页 | 939.39 KB | 1 年前3CakePHP Cookbook Documentation 5.x
using Mixer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649 26 REST 651 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . update -W and check its output. Update app files based upon latest app template Next, ensure the rest of your application has been updated to be based upon the latest version of cakephp/app27. 26 https://github add() { $article = $this->Articles->newEmptyEntity(); $this->Authorization->authorize($article); // Rest of the method } public function edit($slug) { $article = $this->Articles ->findBySlug($slug) ->contain('Tags')0 码力 | 848 页 | 2.53 MB | 1 年前3CakePHP Cookbook 3.x
using Mixer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771 25 REST 773 The Simple Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ) and Number::setDefaultCurrencyFormat() were added. These methods let you define the formatting style for currency values. • The setJsonEncodeFormat method on Time, FrozenTime, Date and FrozenDate now • Routing variables can now use {var} style placeholders. This style allows mid-word variables to be defined. You cannot combine {var} placeholders with :var style placeholders. • Router::routeExists()0 码力 | 967 页 | 2.80 MB | 1 年前3CakePHP Cookbook 2.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617 REST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . features to offer, and is flexible in ways we didn’t 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 a basic CakePHP application, you’re ready for the real thing. Start your own project and read the rest of the Cookbook and API11. If you need help, there are many ways to get the help you need - please0 码力 | 820 页 | 2.52 MB | 1 年前3
共 8 条
- 1