CakePHP Cookbook Documentation 5.x
Installing Authentication Plugin Adding Login Logout Enabling Registrations CMS Tutorial - Authorization Installing Authorization Plugin Enabling the Authorization Plugin Creating our First Policy Checking Configuration Email Configuration Session Configuration Routing configuration Additional Class Paths Plugin, View Template and Locale Paths Inflection Configuration Configure Class Configure Writing Configuration Using Path Routing Using Named Routes Prefix Routing Creating Links to Prefix Routes Plugin Routing Creating Links to Plugin Routes SEO-Friendly Routing Matching Specific HTTP Methods Matching Specific Hostnames0 码力 | 1080 页 | 939.39 KB | 1 年前3CakePHP Cookbook Documentation 5.x
636 25 Plugins 637 Installing a Plugin With Composer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637 Manually Installing a Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638 Loading a Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638 Plugin Hook Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 Plugin Loading Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 Loading plugins through0 码力 | 848 页 | 2.53 MB | 1 年前3CakePHP Cookbook 2.x
plugins Elements Passing Variables into an Element Caching Elements Requesting Elements from a Plugin 2.0 2.1 Creating your own view classes View API More about Views Themes Media Views JSON and XML Submodule Enable the Plugin How To Use Plugins Plugin Configuration Advanced Bootstrapping Using a Plugin How To Create Plugins Plugin Controllers Plugin Models Plugin Views Plugin Assets Components, Helpers and Behaviors Expand Your Plugin Plugin Tips Publish Your Plugin Shells, Tasks & Console Tools The CakePHP console Adding cake to your system path Creating a shell Using Models in your shells0 码力 | 1096 页 | 958.62 KB | 1 年前3CakePHP Cookbook 2.x
conventions (capitalization, plural names, etc.) and create readable, understand- able action names. You can map URLs to your code using “routes” covered later on. The single instruction in the action uses set() user-friendliness and general search engine compatibility will appreciate the way that CakePHP’s URLs map to specific actions. So we’ll just make a quick change to routes in this tutorial. For more information Release 2.x URL Considerations for Controller Names As you’ve just seen, single word controllers map easily to a simple lower case URL path. For example, ApplesController (which would be defined in the0 码力 | 820 页 | 2.52 MB | 1 年前3CakePHP Cookbook 3.x
Configuration Email Configuration Session Configuration Routing configuration Additional Class Paths Plugin, View Template and Locale Paths Inflection Configuration Configure Class Writing Configuration Parameters to Action Using Named Routes Prefix Routing Creating Links to Prefix Routes Plugin Routing Creating Links to Plugin Routes SEO-Friendly Routing Matching Specific HTTP Methods Matching Specific Hostnames Plugins Elements Passing Variables into an Element Caching Elements Requesting Elements from a Plugin Routing prefix and Elements Caching Sections of Your View View Events Event List Creating Your0 码力 | 1244 页 | 1.05 MB | 1 年前3CakePHP Cookbook 4.x
Installing Authentication Plugin Adding Login Logout Enabling Registrations CMS Tutorial - Authorization Installing Authorization Plugin Enabling the Authorization Plugin Creating our First Policy Checking Configuration Email Configuration Session Configuration Routing configuration Additional Class Paths Plugin, View Template and Locale Paths Inflection Configuration Configure Class Configure Writing Configuration Using Path Routing Using Named Routes Prefix Routing Creating Links to Prefix Routes Plugin Routing Creating Links to Plugin Routes SEO-Friendly Routing Matching Specific HTTP Methods Matching Specific Hostnames0 码力 | 1249 页 | 1.04 MB | 1 年前3CakePHP Cookbook 4.x
737 24 Plugins 739 Installing a Plugin With Composer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739 Manually Installing a Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740 Loading a Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740 Plugin Hook Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741 Using Plugin Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742 Creating Your Own0 码力 | 967 页 | 2.88 MB | 1 年前3CakePHP Cookbook 3.x
755 24 Plugins 757 Installing a Plugin With Composer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757 Manually Installing a Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 758 Loading a Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 759 Plugin Hook Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 760 Using Plugin Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 762 Creating Your Own0 码力 | 967 页 | 2.80 MB | 1 年前3Guzzle PHP 5.3 Documentation
same as sending application/x-www-form-urlencoded, except some of the array values of the POST fields map to PHP fopen resources, or GuzzleHttp\Stream\StreamInterface, or GuzzleHttp\Post\PostFileInterface $response->getStatusCode(); // 405 You can create and send a request using methods on a client that map to the HTTP method you wish to use. GET $client->get('http://httpbin.org/get', [/** options **/]) setHost() method of a request: $request->setHost('www.google.com'); echo $request->getHost(); // www.google.com echo $request->getUrl(); // https://www.google.com/get?foo=bar&baz=bam Note: The Host header can0 码力 | 63 页 | 275.75 KB | 10 月前3Guzzle PHP 5.3 Documentation
ubscriber] Verifies the message integrity of HTTP responses using customizable validators. This plugin can be used, for example, to verify the Content-MD5 headers of responses. Service Description Commands same as sending application/x-www-form-urlencoded, except some of the array values of the POST fields map to PHP fopen resources, or GuzzleHttp\Stream\StreamInterface, or GuzzleHttp\Post\PostFileInterface $response->getStatusCode(); // 405 You can create and send a request using methods on a client that map to the HTTP method you wish to use. $client->get('http://httpbin.org/get', [/** options **/]) $cl0 码力 | 72 页 | 312.62 KB | 10 月前3
共 81 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9