Learning Laravel0 码力 | 216 页 | 1.58 MB | 1 年前3
The PHP Handbook
php . That is responsible for printing the page shown above. 10 5. Your first PHP program When learning a new programming language we have this tradition of creating a “Hello, World!” application. Something variables will be copied as references - there will not a “recursive cloning” of them. To do a deep clone you will need to do some more work. 14.12. Magic methods Magic methods are special methods0 码力 | 97 页 | 8.78 MB | 1 年前3
CakePHP Cookbook 2.x
to Get Help page. Welcome to CakePHP! Suggested Follow-up Reading These are common tasks people learning CakePHP usually want to study next: 1. Layouts: Customizing your website layout 2. Elements: Including does not support transactions. fieldList: Equivalent to the $fieldList parameter in Model::save() deep: (since 2.1) If set to true, also associated data is saved; see also saveAssociated() callbacks Set array('Article' => array('title' => 'title 2')), ); To save also associated data with $options['deep'] = true (since 2.1), the two above examples would look like: $data = array( array('title' =>0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
to Get Help page. Welcome to CakePHP! Suggested Follow-up Reading These are common tasks people learning CakePHP usually want to study next: 1. Layouts: Customizing your website layout 2. Elements: Including not support transactions. • fieldList: Equivalent to the $fieldList parameter in Model::save() • deep: (since 2.1) If set to true, also associated data is saved; see also saveAssociated() • callbacks array('Article' => array('title' => 'title 2')), ); To save also associated data with $options['deep'] = true (since 2.1), the two above examples would look like: $data = array( array('title' => 'title0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 3.x
to Get Help page. Welcome to CakePHP! Suggested Follow-up Reading These are common tasks people learning CakePHP usually want to study next: 1. Layouts: Customizing your website layout 2. Elements: Including sub-subsections. ^ Is used for sub-sub-subsections. Headings should not be nested more than 5 levels deep. Headings should be preceded and followed by a blank line. Paragraphs Paragraphs are simply blocks $articles->find()->contain([ 'Authors.Addresses', 'Comments.Authors' ]); You can eager load associations as deep as you like: $query = $products->find()->contain([ 'Shops.Cities.Countries', 'Shops.Managers'0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
to Get Help page. Welcome to CakePHP! Suggested Follow-up Reading These are common tasks people learning CakePHP usually want to study next: 1. Layouts: Customizing your website layout 2. Elements: Including sub-subsections. ^ Is used for sub-sub-subsections. Headings should not be nested more than 5 levels deep. Headings should be preceded and followed by a blank line. Paragraphs Paragraphs are simply blocks $articles->find()->contain([ 'Authors.Addresses', 'Comments.Authors' ]); You can eager load associations as deep as you like: $query = $products->find()->contain([ 'Shops.Cities.Countries', 'Shops.Managers'0 码力 | 1249 页 | 1.04 MB | 1 年前3
Laravel 5.0 Documentation
expressive interface to compiling and concatenating your assets. If you've ever been intimidated by learning Grunt or Gulp, fear no more. Elixir makes it a cinch to get started using Gulp to compile your to easily "mock", or create a dummy implementation of the mailer when testing our application. A deep understanding of the Laravel service container is essential to building a powerful, large application that are Laravel specific. All Laravel packages are distributed via Packagist and Composer, so learning about these wonderful PHP package distribution tools is essential. Your package's internal structure0 码力 | 242 页 | 1.44 MB | 1 年前3
CakePHP Cookbook Documentation 5.xsub-subsections. ^ Is used for sub-sub-subsections. Headings should not be nested more than 5 levels deep. Headings should be preceded and followed by a blank line. Paragraphs Paragraphs are simply blocks $articles->find()->contain([ 'Authors.Addresses', 'Comments.Authors' ]); You can eager load associations as deep as you like: $query = $products->find()->contain([ 'Shops.Cities.Countries', 'Shops.Managers' ($q) { return $q->where(['Articles.created >=' => new DateTime('-10 days')]); }); Filtering by deep associations uses the same predictable syntax from contain(): // In a controller or table method0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
to Get Help page. Welcome to CakePHP! Suggested Follow-up Reading These are common tasks people learning CakePHP usually want to study next: 1. Layouts: Customizing your website layout 2. Elements: Including sub-subsections. • ^ Is used for sub-sub-subsections. Headings should not be nested more than 5 levels deep. Headings should be preceded and followed by a blank line. 63 https://en.wikipedia.org/wiki/Register_(linguistics) $articles->find()->contain([ 'Authors.Addresses', 'Comments.Authors' ]); You can eager load associations as deep as you like: $query = $products->find()->contain([ 'Shops.Cities.Countries', 'Shops.Managers' ]);0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
to Get Help page. Welcome to CakePHP! Suggested Follow-up Reading These are common tasks people learning CakePHP usually want to study next: 1. Layouts: Customizing your website layout 2. Elements: Including sub-subsections. • ^ Is used for sub-sub-subsections. Headings should not be nested more than 5 levels deep. Headings should be preceded and followed by a blank line. 59 https://en.wikipedia.org/wiki/Register#Linguistics $articles->find()->contain([ 'Authors.Addresses', 'Comments.Authors' ]); You can eager load associations as deep as you like: $query = $products->find()->contain([ 'Shops.Cities.Countries', 'Shops.Managers' ]);0 码力 | 967 页 | 2.88 MB | 1 年前3
共 53 条
- 1
- 2
- 3
- 4
- 5
- 6













