Laravel 3.2 Documentation.......................................................................................... 74 Calling Controllers From Tests ......................................................................... controller is registered, you may access its methods using a simple URI convention: http://localhost/controller/method/arguments This convention is similar to that employed by CodeIgniter and other popular frameworks as arguments. If no method segment is present, the "index" method will be used. This routing convention may not be desirable for every situation, so you may also explicitly route URIs to controller0 码力 | 139 页 | 1.13 MB | 1 年前3
CakePHP Cookbook Documentation 5.xCalls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Convention Careful when using empty()/isset() Backwards Compatibility Guide Migration Guides Using CakePHP updated on Dec 26, 2023. Created using Sphinx 7.0.1. CakePHP Conventions We are big fans of convention over configuration. While it takes a bit of time to learn CakePHP’s conventions, you save time http://example.com/users. While you can route multiple word controllers in any way you like, the convention is that your URLs are lowercase and dashed using the DashedRoute class, therefore /menu-links/view-all0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Convention Careful when using empty()/isset() Backwards Compatibility Guide Migration Guides Using CakePHP updated on Dec 07, 2023. Created using Sphinx 7.0.1. CakePHP Conventions We are big fans of convention over configuration. While it takes a bit of time to learn CakePHP’s conventions, you save time http://example.com/users. While you can route multiple word controllers in any way you like, the convention is that your URLs are lowercase and dashed using the DashedRoute class, therefore /menu-links/view-all0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.xCakePHP IRC Channel • Spanish CakePHP Google Group17 CakePHP Conventions We are big fans of convention over configuration. While it takes a bit of time to learn CakePHP’s conventions, you save time http://example.com/users. While you can route multiple word controllers in any way you like, the convention is that your URLs are lower- case and dashed using the DashedRoute class, therefore /menu-links/view-all alphabetically: articles_tags, not tags_articles or article_tags. The bake command will not work if this convention is not followed. If the junction table holds any data other than the linking foreign keys, you0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 3.x
Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Convention Careful when using empty()/isset() Backwards Compatibility Guide Migration Guides Using CakePHP updated on Sep 10, 2023. Created using Sphinx 4.5.0. CakePHP Conventions We are big fans of convention over configuration. While it takes a bit of time to learn CakePHP’s conventions, you save time http://example.com/users. While you can route multiple word controllers in any way you like, the convention is that your URLs are lowercase and dashed using the DashedRoute class, therefore /article-categories/view-all0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
CakePHP IRC Channel • Spanish CakePHP Google Group17 CakePHP Conventions We are big fans of convention over configuration. While it takes a bit of time to learn CakePHP’s conventions, you save time http://example.com/users. While you can route multiple word controllers in any way you like, the convention is that your URLs are lower- case and dashed using the DashedRoute class, therefore /menu-links/view-all alphabetically: articles_tags, not tags_articles or article_tags. The bake command will not work if this convention is not followed. If the junction table holds any data other than the linking foreign keys, you0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
Comparison Function Calls Method Definition Method Chaining DocBlocks Including Files PHP Tags Naming Convention Backwards Compatibility Guide Migration Guides Using CakePHP Working on CakePHP CakePHP Development CakePHP is flexible enough to accommodate even the worst legacy database schema, but adhering to convention will save you time. Check out CakePHP Conventions for more information, but suffice it to say [https://api.cakephp.org] to see the formats in which you can specify a URL for various CakePHP functions. Calling the save() method will check for validation errors and abort the save if any occur. We’ll discuss0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 3.x
CakePHP IRC Channel • Spanish CakePHP Google Group17 CakePHP Conventions We are big fans of convention over configuration. While it takes a bit of time to learn CakePHP’s conventions, you save time http://example.com/users. While you can route multiple word controllers in any way you like, the convention is that your URLs are lowercase and dashed using the DashedRoute class, therefore /article-categories/view-all the CakePHP namespace (cakephp) as vendor name as this is reserved to CakePHP owned plugins. The convention is to use lowercase letters and dashes as separator: // Bad cakephp/foo-bar // Good your-name/cakephp-foo-bar0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 2.x
CakePHP is flexible enough to accommodate even the worst legacy database schema, but adhering to convention will save you time. Check out CakePHP Conventions for more information, but suffice it to say function on the API10 to see the formats in which you can specify a URL for various CakePHP functions. Calling the save() method will check for validation errors and abort the save if any occur. We’ll discuss Conventions We are big fans of convention over configuration. While it takes a bit of time to learn CakePHP’s conventions, you save time in the long run: by following convention, you get free functionality0 码力 | 820 页 | 2.52 MB | 1 年前3
Learning LaravelDirectory Structure 68 Examples 68 Change default app directory 68 Override Application class 68 Calling the new class 68 Composer 69 Change the Controllers directory 69 Chapter 21: Eloquent 70 Introduction create method 157 Using factory 158 Seeding && deleting old data and reseting auto-increment 158 Calling other seeders 158 Creating a Seeder 158 Safe reseeding 159 Chapter 55: Services 161 Examples output the $name variable. To pass this value to our view, we would pass an array of values when calling the view helper: https://riptutorial.com/ 17 view('example', ['name' => $name]); or alternatively0 码力 | 216 页 | 1.58 MB | 1 年前3
共 64 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













