CakePHP Cookbook 3.x
Routing Matching Specific HTTP Methods Matching Specific Hostnames Routing File Extensions Connecting Scoped Middleware Grouping Middleware RESTful Routing Creating Nested Resource Routes Limiting the Routes Routing in the Console Environment Debugging Basic Debugging Using the Debugger Class Outputting Values Masking Data Logging With Stack Traces Generating Stack Traces Getting an Excerpt From a File Using Convenience Methods Logging Trait Using Monolog Modelless Forms Creating a Form Setting Form Values Getting Form Values Processing Request Data Getting Form Errors Invalidating Individual Form Fields from Controller0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook Documentation 5.xRouting Matching Specific HTTP Methods Matching Specific Hostnames Routing File Extensions Route Scoped Middleware Grouping Middleware RESTful Routing Creating Nested Resource Routes Limiting the Routes Debugging Basic Debugging stackTrace() breakpoint() Using the Debugger Class Debugger Outputting Values Debugger::dump Masking Data Logging With Stack Traces Debugger::log Generating Stack Traces LogTrait Using Monolog Modelless Forms Form Creating a Form Processing Request Data Setting Form Values Getting Form Errors Invalidating Individual Form Fields from Controller Creating HTML with FormHelper0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Routing Matching Specific HTTP Methods Matching Specific Hostnames Routing File Extensions Route Scoped Middleware Grouping Middleware RESTful Routing Creating Nested Resource Routes Limiting the Routes Debugging Basic Debugging stackTrace() breakpoint() Using the Debugger Class Debugger Outputting Values Debugger::dump Masking Data Logging With Stack Traces Debugger::log Generating Stack Traces LogTrait Using Monolog Modelless Forms Form Creating a Form Processing Request Data Setting Form Values Getting Form Errors Invalidating Individual Form Fields from Controller Creating HTML with FormHelper0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Connecting Scoped Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 RESTful . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692 Outputting Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692 . . . . . . . . . . 751 Setting Form Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752 Getting Form Values . . . . . . . . . . . . . . . . . . .0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Route Scoped Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556 Outputting Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 626 Setting Form Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6270 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 Route Scoped Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662 Outputting Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734 Setting Form Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7350 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
*/ INSERT INTO posts (title, body, created) VALUES ('The title', 'This is the post body.', NOW()); INSERT INTO posts (title, body, created) VALUES ('A title once again', 'And the post body follows follows.', NOW()); INSERT INTO posts (title, body, created) VALUES ('Title strikes back', 'This is really exciting! Not.', NOW()); The choices on table and column names are not arbitrary. If you follow directory, but name it database.php. The config file should be pretty straightforward: just replace the values in the $default array with those that apply to your setup. A sample completed configuration array0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
testing: */ INSERT INTO posts (title, body, created) VALUES ('The title', 'This is the post body.', NOW()); INSERT INTO posts (title, body, created) VALUES ('A title once again', 'And the post body follows follows.', NOW()); INSERT INTO posts (title, body, created) VALUES ('Title strikes back', 'This is really exciting! Not.', NOW()); The choices on table and column names are not arbitrary. If you follow CakePHP’s directory, but name it database.php. The config file should be pretty straightforward: just replace the values in the $default array with those that apply to your setup. A sample completed configuration array0 码力 | 820 页 | 2.52 MB | 1 年前3
Falcon v3.0.0-b2 Documentationthing; # this example serves only to demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By' thing; # this example serves only to demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By' argument. Note: Falcon also supports more complex parameterized path segments that contain multiple values. For example, a version control API might use the following route template for diffing two code branches:0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationthing; # this example serves only to demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By' thing; # this example serves only to demonstrate how the context can be # used to pass arbitrary values between middleware components, # hooks, and resources. resp.context.result = result resp.set_header('Powered-By' argument. Note: Falcon also supports more complex parameterized path segments that contain multiple values. For example, a version control API might use the following route template for diffing two code branches:0 码力 | 344 页 | 1.16 MB | 1 年前3
共 70 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













