CakePHP Cookbook Documentation 5.xSetup Indentation Line Length Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Convention Careful when using empty()/isset() Creating Your Own View Classes More About Views View Cells Themes JSON and XML views Helpers Database Access & ORM Quick Example More Information Database Basics Query Builder Table Objects Entities Retrieving lowercase and dashed using the DashedRoute class, therefore /menu-links/view-all is the correct form to access the MenuLinksController::viewAll() action. When you create links using this->Html->link(), you can0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
Setup Indentation Line Length Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Convention Careful when using empty()/isset() Creating Your Own View Classes More About Views View Cells Themes JSON and XML views Helpers Database Access & ORM Quick Example More Information Database Basics Query Builder Table Objects Entities Retrieving dashed using the DashedRoute class, therefore /article-categories/view-all is the correct form to access the ArticleCategoriesController::viewAll() action. When you create links using this->Html->link()0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
Setup Indentation Line Length Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Convention Careful when using empty()/isset() Creating Your Own View Classes More About Views View Cells Themes JSON and XML views Helpers Database Access & ORM Quick Example More Information Database Basics Query Builder Table Objects Entities Retrieving lowercase and dashed using the DashedRoute class, therefore /menu-links/view-all is the correct form to access the MenuLinksController::viewAll() action. When you create links using this->Html->link(), you can0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 12 Database Access & ORM 463 Quick Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . dashed using the DashedRoute class, therefore /article-categories/view-all is the correct form to access the ArticleCategoriesController::viewAll() action. When you create links using this->Html->link() and templates. CakePHP’s models are composed of Table and Entity objects. Table objects provide access to the collection of entities stored in a specific table. They are stored in src/Model/Table. The0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 12 Database Access & ORM 321 Quick Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . case and dashed using the DashedRoute class, therefore /menu-links/view-all is the correct form to access the MenuLinksController::viewAll() action. When you create links using this->Html->link(), you can ArticlesController, users can now access the logic there by requesting www.example.com/articles/index. Similarly, if we were to define a function called foobar(), users would be able to access that at www.example.com/articles/foobar0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 12 Database Access & ORM 419 Quick Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . case and dashed using the DashedRoute class, therefore /menu-links/view-all is the correct form to access the MenuLinksController::viewAll() action. When you create links using this->Html->link(), you can and templates. CakePHP’s models are composed of Table and Entity objects. Table objects provide access to the collection of entities stored in a specific table. They are stored in src/Model/Table. The0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
(who’s allowed to access what) Simple Acl controlled Application Preparing our Application Preparing to Add Auth Initialize the Db Acl tables Acts As a Requester Creating ACOs (Access Control Objects) PostsController, users can access the logic there by requesting www.example.com/posts/index. Similarly, if we were to define a function called foobar(), users would be able to access that at www.example.com/posts/foobar $this->request->data = $post; } } This action first ensures that the user has tried to access an existing record. If they haven’t passed in an $id parameter, or the post does not exist, we throw0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
Getting Started CakePHP Cookbook Documentation, Release 2.x # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that should be global root /var/www/example.com/public/app/webroot/; index index.php; access_log /var/www/example.com/log/access.log; error_log /var/www/example.com/log/error.log; location / { try_files $uri name="Exclude direct access to app/webroot/*" stopProcessing="true">0 码力 | 820 页 | 2.52 MB | 1 年前 3
共 8 条
- 1













