CakePHP Cookbook Documentation 5.xReading Where to Get Help CakePHP Conventions CakePHP Folder Structure Quick Start Guide Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Database ->withConsecutive() has been removed data providers have to be static Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Database table will refer to the users table via a user_id foreign key. For a table like menu_links whose name contains multiple words, the foreign key would be menu_link_id. Join (or “junction”) tables are used0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Reading Where to Get Help CakePHP Conventions CakePHP Folder Structure Quick Start Guide Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Database 5 Migration Guide Upgrading to 4.5.0 Deprecations New Features Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Database table will refer to the users table via a user_id foreign key. For a table like menu_links whose name contains multiple words, the foreign key would be menu_link_id. Join (or “junction”) tables are used0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Quick Start Guide 15 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4 Tutorials & Examples 45 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table will refer to the users table via a user_id foreign key. For a table like menu_links whose name contains multiple words, the foreign key would be menu_link_id. Join (or “junction”) tables are used0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Quick Start Guide 15 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4 Tutorials & Examples 69 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table will refer to the users table via a user_id foreign key. For a table like menu_links whose name contains multiple words, the foreign key would be menu_link_id. Join (or “junction”) tables are used0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
Reading Where to Get Help CakePHP Conventions CakePHP Folder Structure Quick Start Guide Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Database 3.0 Migration Guide 3.0 Migration Guide New ORM Upgrade Guide Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Database table will refer to the users table via a user_id foreign key. For a table like article_categories whose name contains multiple words, the foreign key would be article_category_id. Join tables, used in BelongsToMany0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Quick Start Guide 13 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 4 Tutorials & Examples 109 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 table will refer to the users table via a user_id foreign key. For a table like article_categories whose name contains multiple words, the foreign key would be article_category_id. Join tables, used in BelongsToMany0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 2.x
topics Shell Helpers Running Shells as cronjobs Completion Shell Code Generation with Bake Schema management and migrations I18N shell ACL Shell Test shell Upgrade shell Development Configuration Database First, create our posts table: */ CREATE TABLE posts ( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, title VARCHAR(50), body TEXT, created DATETIME DEFAULT NULL, modified DATETIME DEFAULT table will refer to the bakers table via a baker_id foreign key. For a table like category_types whose name contains multiple words, the foreign key would be category_type_id. Join tables, used in hasAndBelongsToMany0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
/* First, create our posts table: */ CREATE TABLE posts ( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, title VARCHAR(50), body TEXT, created DATETIME DEFAULT NULL, modified DATETIME DEFAULT NULL ); /* 23 CakePHP Cookbook Documentation, Release 2.x foreign key. For a table like category_types whose name contains multiple words, the foreign key would be cate- gory_type_id. Join tables, used in hasAndBelongsToMany singular primary key to uniquely identify each row. If you wish to model a table that does not already have a single-field primary key, CakePHP’s convention is that a single-field primary key is added to the0 码力 | 820 页 | 2.52 MB | 1 年前3
共 8 条
- 1













