CakePHP Cookbook Documentation 5.xcaused by method calls caused by refactoring that change ordering. While they offer a number of benefits, immutable objects can take some getting used to. Any method that starts with with operates on the certain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() ->where(function (QueryExpression $exp, Query $q) IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" Automatically Creating IN Clauses When building queries using the ORM, you will generally0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xcaused by method calls caused by refactoring that change ordering. While they offer a number of benefits, immutable objects can take some getting used to. Any method that starts with with operates on the certain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() ->where(function (QueryExpression $exp, Query $q) IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" 360 Chapter 12. Database Access & ORM CakePHP Cookbook Documentation, Release 5.x Automatically0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
caused by method calls caused by refactoring that change ordering. While they offer a number of benefits, immutable objects can take some getting used to. Any method that starts with with operates on the certain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() ->where(function (QueryExpression $exp, Query $q) IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" Automatically Creating IN Clauses When building queries using the ORM, you will generally0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
caused by method calls caused by refactoring that change ordering. While they offer a number of benefits, immutable objects can take some getting used to. Any method that starts with with operates on the certain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() (continues on next page) More Information 459 CakePHP IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" Automatically Creating IN Clauses When building queries using the ORM, you will generally0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
caused by method calls caused by refactoring that change ordering. While they offer a number of benefits, immutable objects can take some getting used to. Any method that starts with with operates on the 'propertyName' => 'person' ]); However, arrays do not offer the typehinting and autocomplete benefits that the fluent interface does. The same table can be used multiple times to define different types this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" Extract Pot Files with I18n Shell To create the pot files from __() and other internationalized0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
caused by method calls caused by refactoring that change ordering. While they offer a number of benefits, immutable objects can take some getting used to. Any method that starts with with operates on the 'propertyName' => 'person' ]); However, arrays do not offer the typehinting and autocomplete benefits that the fluent interface does. The same table can be used multiple times to define different types this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" 162 https://en.wikipedia.org/wiki/Gettext 163 https://github.com/cakephp/localized0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 2.x
Model-View-Controller The Model layer The View layer The Controller layer CakePHP request cycle Benefits Where to Get Help The Official CakePHP website The Cookbook The Bakery The API The Test Cases We’ll add some details later on which are specific to CakePHP, so keep this in mind as we proceed. Benefits Why use MVC? Because it is a tried and true software design pattern that turns an application into the parent of what. Bundled with cake however, is a powerful behavior which allows you to use the benefits of MPTT logic [https://www.sitepoint.com/hierarchical-data-database-2/] without worrying about any0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
we proceed. Understanding Model-View-Controller 39 CakePHP Cookbook Documentation, Release 2.x Benefits Why use MVC? Because it is a tried and true software design pattern that turns an application into the parent of what. Bundled with cake however, is a powerful behavior which allows you to use the benefits of MPTT logic62 without worrying about any of the intricacies of the technique - unless you want streams other than that they must implement a write method, extending the BaseLog class has a few benefits: • It automatically handles the scope and type argument casting. • It implements the config()0 码力 | 820 页 | 2.52 MB | 1 年前3
共 8 条
- 1













