CakePHP Cookbook Documentation 5.xDeprecations New Features PHPUnit 10 Upgrade phpunit.xml adjustments ->withConsecutive() has been removed data providers have to be static Tutorials & Examples Content Management Tutorial Getting CakePHP Checking Configure Writing Configuration data Reading Configuration Data Checking to see if Configuration Data is Defined Deleting Configuration Data Reading & Deleting Configuration Data Reading and writing configuration Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Name0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
Class Writing Configuration data Reading Configuration Data Checking to see if Configuration Data is Defined Deleting Configuration Data Reading & Deleting Configuration Data Reading and writing configuration Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Name Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes with Immutable Responses Cookie Collections Creating Cookies Reading Cookies Controllers The App Controller Request Flow Controller Actions0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook Documentation 5.xImmutable Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 Cookie Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513 Using . . . . . . . . . . . . . . . . . . . . . 611 Automatically Choosing the Locale Based on Request Data . . . . . . . . . . . . . . . . . . . . . . . . . . 612 Translate Content/Entities . . . . . . .0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 3.x
Immutable Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 Cookie Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640 Using . . . . . . . . . . . . . . . . . . . . . 740 Automatically Choosing the Locale Based on Request Data . . . . . . . . . . . . . . . . . . . . . . . . . . 741 22 Logging 743 Logging Configuration .0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
Configure Writing Configuration data Reading Configuration Data Checking to see if Configuration Data is Defined Deleting Configuration Data Reading & Deleting Configuration Data Reading and writing configuration Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Name Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes with Immutable Responses Cookie Collections CookieCollection Creating Cookies Reading Cookies Controllers Controller The App Controller0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
Immutable Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 Cookie Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613 Using . . . . . . . . . . . . . . . . . . . . . 719 Automatically Choosing the Locale Based on Request Data . . . . . . . . . . . . . . . . . . . . . . . . . . 721 Translate Content/Entities . . . . . . .0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
Tutorial - Adding a layer Create a Post Model Create a Posts Controller Creating Post Views Adding Posts Data Validation Editing Posts Deleting Posts Routes Conclusion Additional Reading Installation Requirements Understanding Models More on models Associations: Linking Models Together Retrieving Your Data Saving Your Data Deleting Data Data Validation Callback Methods Behaviors DataSources Model Attributes Additional Methods & configuration Setting ini directives Creating a custom session handler Reading & writing session data Exceptions Exception configuration Exception classes Built-in Exceptions for CakePHP Using HTTP0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
something like this: $ chown -R www-data app/tmp If for some reason CakePHP can’t write to that directory, you’ll see warnings and uncaught exceptions that cache data cannot be written. 4 https://git-scm your code using “routes” covered later on. The single instruction in the action uses set() to pass data from the controller to the view (which we’ll create next). The line sets the view variable called Getting Started CakePHP Cookbook Documentation, Release 2.x Creating Post Views Now that we have our data flowing to our model, and our application logic and flow defined by our controller, let’s create a0 码力 | 820 页 | 2.52 MB | 1 年前3
共 8 条
- 1













