CakePHP Cookbook Documentation 5.xPlugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Your Plugins using Mixer REST Getting Started Encoding Response Data Parsing Request Files Collections Collection Quick Example List of Methods Iterating Collection::each() Collection::map() Collection::extract() Collection::combine() Collection::stopWhen() Collection::unfold() Collection::chunk() with routing. URL Considerations for Controller Names As you’ve just seen, single word controllers map to a simple lower case URL path. For example, UsersController (which would be defined in the file name0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Your Plugins using Mixer REST The Simple Setup Accepting Input in Other Formats RESTful with routing. URL Considerations for Controller Names As you’ve just seen, single word controllers map to a simple lower case URL path. For example, UsersController (which would be defined in the file name Cake\Database\Type::map() is deprecated. Use getMap() instead. Cake\Database\Type::map() to set complete types map is deprecated. Use setMap() instead. Passing $className as object to Cake\Database\Type::map() is deprecated0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Your Plugins using Mixer REST The Simple Setup Accepting Input in Other Formats RESTful Files Collections Collection Quick Example List of Methods Iterating Collection::each() Collection::map() Collection::extract() Collection::combine() Collection::stopWhen() Collection::unfold() Collection::chunk() with routing. URL Considerations for Controller Names As you’ve just seen, single word controllers map to a simple lower case URL path. For example, UsersController (which would be defined in the file name0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770 Plugin Map File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . with routing. URL Considerations for Controller Names As you’ve just seen, single word controllers map to a simple lower case URL path. For example, UsersController (which would be defined in the file name Cake\Database\Type::map() is deprecated. Use getMap() instead. • Cake\Database\Type::map() to set complete types map is deprecated. Use setMap() instead. • Passing $className as object to Cake\Database\Type::map() is0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649 Plugin Map File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . with routing. URL Considerations for Controller Names As you’ve just seen, single word controllers map to a simple lower case URL path. For example, UsersController (which would be defined in the file name ; } // Other code } protected function _buildTags($tagString) { // Trim tags $newTags = array_map('trim', explode(',', $tagString)); // Remove all empty tags $newTags = array_filter($newTags); // Reduce0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751 Plugin Map File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . with routing. URL Considerations for Controller Names As you’ve just seen, single word controllers map to a simple lower case URL path. For example, UsersController (which would be defined in the file name longer inherit from Type, and leverage BatchCastingInterface features now. • Cake\Database\Type::map() only functions as a setter now. You must use Type::getMap() to inspect type instances. • Date, Time0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
conventions (capitalization, plural names, etc.) and create readable, understandable 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 be accessed. 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 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP 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 年前3
共 8 条
- 1













