CakePHP Cookbook Documentation 5.xRewriting Configuration Configuring your Application Loading Additional Configuration Files Environment Variables General Configuration Using a CDN Database Configuration Caching Configuration Error Request Parameters Query String 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 Tool Schema Cache Tool Routes Tool Server Tool Interactive Console (REPL) Routing in the Console Environment Debugging Basic Debugging stackTrace() breakpoint() Using the Debugger Class Debugger Outputting0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
Rewriting Configuration Configuring your Application Loading Additional Configuration Files Environment Variables General Configuration Using a CDN Database Configuration Caching Configuration Error Request Parameters Query String 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 Cache Shell Server Shell Upgrade Shell Shells Interactive Console (REPL) Routing in the Console Environment Debugging Basic Debugging Using the Debugger Class Outputting Values Masking Data Logging With0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook Documentation 5.xApplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545 Routing in the Console Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552 16 Debugging 555 Name Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 779 Creating Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7800 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
Rewriting Configuration Configuring your Application Loading Additional Configuration Files Environment Variables General Configuration Using a CDN Database Configuration Caching Configuration Error Request Parameters Query String 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 Schema Cache Tool Routes Tool Server Tool Interactive Console (REPL) Shells Routing in the Console Environment Debugging Basic Debugging stackTrace() breakpoint() Using the Debugger Class Debugger Outputting0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674 Routing in the Console Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689 16 Debugging 691 Name Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 899 Creating Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9000 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645 Routing in the Console Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659 16 Debugging 661 Name Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 891 Creating Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 892 ?> In the last section we assigned the ‘articles’ variable to the view using set(). Variables passed into the view are available in the view templates as local0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
set() to pass data from the controller to the view (which we’ll create next). The line sets the view variable called ‘posts’ equal to the return value of the find('all') method of the Post model. Our Post model but for now, let’s just use the default. Remember how in the last section we assigned the ‘posts’ variable to the view using the set() method? That would pass data to the view that would look something like message to a session variable to be displayed on the page after redirection. In the layout we have FlashHelper::render() which displays the message and clears the corresponding session variable. The controller’s0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
set() to pass data from the controller to the view (which we’ll create next). The line sets the view variable called ‘posts’ equal to the return value of the find('all') method of the Post model. Our Post model but for now, let’s just use the default. Remember how in the last section we assigned the ‘posts’ variable to the view using the set() method? That would pass data to the view that would look something like message to a session variable to be displayed on the page after redirection. In the layout we have FlashHelper::render() which displays the message and clears the corresponding session variable. The controller’s0 码力 | 820 页 | 2.52 MB | 1 年前3
共 8 条
- 1













