CakePHP Cookbook Documentation 5.xSubmitting a Pull Request Coding Standards Adding New Features IDE Setup Indentation Line Length Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Creating Nested Resource Routes Limiting the Routes Created Changing the Controller Actions Used Mapping Additional Resource Routes Prefixed Resource Routing Custom Route Classes for Resource Routes URL Inflection Inflection for Resource Routes Changing the Path Element Passed Arguments Generating URLs RouterBuilder::url RouterBuilder::reverse Using Router::url() Using Router::reverse() Routing Arrays vs Request0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Submitting a Pull Request Coding Standards Adding New Features IDE Setup Indentation Line Length Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Creating Nested Resource Routes Limiting the Routes Created Changing the Controller Actions Used Mapping Additional Resource Routes Prefixed Resource Routing Custom Route Classes for Resource Routes URL Inflection Inflection for Resource Routes Changing the Path Element Passed Arguments Generating URLs RouterBuilder::url RouterBuilder::reverse Using Router::url() Using Router::reverse() Routing Arrays vs Request0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
Submitting a Pull Request Coding Standards Adding New Features IDE Setup Indentation Line Length Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Creating Nested Resource Routes Limiting the Routes Created Changing the Controller Actions Used Mapping Additional Resource Routes Prefixed Resource Routing Custom Route Classes for Resource Routes URL Inflection Inflection for Resource Routes Changing the Path Element Passed Arguments Generating URLs Redirect Routing Entity Routing Custom Route Classes Default Route Class Fallbacks Method Creating Persistent0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook Documentation 5.xQueries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633 Control which Fields Used for Ordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . cycle works in CakePHP: The typical CakePHP request cycle starts with a user requesting a page or resource in your application. At a high level each request goes through the following steps: 1. The webserver pages, layouts, and view template files. • The resources folder has sub folder for various types of resource files. The locales sub folder stores language files for internationalization. • The tests folder0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
cycle works in CakePHP: The typical CakePHP request cycle starts with a user requesting a page or resource in your application. At a high level each request goes through the following steps: 1. The webserver pages, layouts, and view template files. • The resources folder has sub folder for various types of resource files. The locales sub folder stores language files for internationalization. • The tests folder code the user for now. echo $this->Form->control('user_id', ['type' => 'hidden', 'value' => 1]); echo $this->Form->control('title'); echo $this->Form->control('body', ['rows' => '3']); echo $this->Form->button(__('Save0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
cycle works in CakePHP: The typical CakePHP request cycle starts with a user requesting a page or resource in your application. At a high level each request goes through the following steps: 1. The webserver code the user for now. echo $this->Form->control('user_id', ['type' => 'hidden', 'value' => 1]); echo $this->Form->control('title'); echo $this->Form->control('body', ['rows' => '3']); echo $this->Form->button(__('Save option, FormHelper assumes we want the form to submit back to the current action. The $this->Form->control() method is used to create form elements of the same name. The first parameter tells CakePHP which0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 2.x
Controller actions Request Life-cycle callbacks Controller Methods Interacting with Views Flow Control Callbacks Other Useful Methods Controller Attributes $components, $helpers and $uses Other Attributes Application Preparing to Add Auth Initialize the Db Acl tables Acts As a Requester Creating ACOs (Access Control Objects) Simple Acl controlled Application - part 2 An Automated tool for creating ACOs Setting Submitting a pull request Coding Standards Language Adding New Features Indentation Line Length Control Structures Comparison Function Calls Method Definition Method Chaining DocBlocks Including Files0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
object contains useful information regarding the request that was just received, and can be used to control the flow of your application. In this case, we use the CakeRequest::is() method to check that the on 32 https://en.wikipedia.org/wiki/Web_template_system 33 https://en.wikipedia.org/wiki/Access_control_list 34 https://en.wikipedia.org/wiki/Web_cache 35 https://httpd.apache.org/ 36 https://en.wikipedia MVC Request in CakePHP The typical CakePHP request cycle starts with a user requesting a page or resource in your application. This request is first processed by a dispatcher which will select the correct0 码力 | 820 页 | 2.52 MB | 1 年前3
共 8 条
- 1













