 CakePHP Cookbook Documentation 5.xclass so you don’t have to manually add that trait to your Testcase classes. 36 https://docs.phpunit.de/en/10.0/extending-phpunit.html#extending-the-test-runner 42 Chapter 3. Migration Guides CakePHP Cookbook Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 848 页 | 2.53 MB | 1 年前3 CakePHP Cookbook Documentation 5.xclass so you don’t have to manually add that trait to your Testcase classes. 36 https://docs.phpunit.de/en/10.0/extending-phpunit.html#extending-the-test-runner 42 Chapter 3. Migration Guides CakePHP Cookbook Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 848 页 | 2.53 MB | 1 年前3
 CakePHP Cookbook Documentation 5.xsystem PHPUnit 10 removed the old hook system and introduced a new Event system [https://docs.phpunit.de/en/10.0/extending-phpunit.html#extending-the-test-runner] which requires the following code in your Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 1080 页 | 939.39 KB | 1 年前3 CakePHP Cookbook Documentation 5.xsystem PHPUnit 10 removed the old hook system and introduced a new Event system [https://docs.phpunit.de/en/10.0/extending-phpunit.html#extending-the-test-runner] which requires the following code in your Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 1080 页 | 939.39 KB | 1 年前3
 CakePHP Cookbook 4.x
RouteBuilder::resources() now inflects resource names to dasherized form instead of underscored by de- fault in URLs. You can retain underscored inflection by using 'inflect' => 'underscore' in $options argument. • Router::plugin() and Router::prefix() now use plugin/prefix name in dasherized form in URL by de- fault. You can retain underscored from (or any other custom path) by using 'path' key in $options will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you0 码力 | 967 页 | 2.88 MB | 1 年前3 CakePHP Cookbook 4.x
RouteBuilder::resources() now inflects resource names to dasherized form instead of underscored by de- fault in URLs. You can retain underscored inflection by using 'inflect' => 'underscore' in $options argument. • Router::plugin() and Router::prefix() now use plugin/prefix name in dasherized form in URL by de- fault. You can retain underscored from (or any other custom path) by using 'path' key in $options will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you0 码力 | 967 页 | 2.88 MB | 1 年前3
 CakePHP Cookbook 4.x
$bookmarks = $query - >select(['Bookmarks.id','Bookmarks.url','Bookmarks.title','Bookmarks.de scription']) ->leftJoinWith('Tags') ->where(['Tags.title IS' => null]) $bookmarks = $query - >select(['Bookmarks.id','Bookmarks.url','Bookmarks.title','Bookmarks.de scription']) ->innerJoinWith('Tags') ->where(['Tags.title IN ' => $options['tags']]) will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you0 码力 | 1249 页 | 1.04 MB | 1 年前3 CakePHP Cookbook 4.x
$bookmarks = $query - >select(['Bookmarks.id','Bookmarks.url','Bookmarks.title','Bookmarks.de scription']) ->leftJoinWith('Tags') ->where(['Tags.title IS' => null]) $bookmarks = $query - >select(['Bookmarks.id','Bookmarks.url','Bookmarks.title','Bookmarks.de scription']) ->innerJoinWith('Tags') ->where(['Tags.title IN ' => $options['tags']]) will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you0 码力 | 1249 页 | 1.04 MB | 1 年前3
 CakePHP Cookbook 3.x
will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you $options['escape'] - Boolean. If set to true it will HTML encode the value provided inside $title. De- faults to false. For example: echo $this->Form->button('A Button'); echo $this->Form->button('Another Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country0 码力 | 967 页 | 2.80 MB | 1 年前3 CakePHP Cookbook 3.x
will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you $options['escape'] - Boolean. If set to true it will HTML encode the value provided inside $title. De- faults to false. For example: echo $this->Form->button('A Button'); echo $this->Form->button('Another Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country0 码力 | 967 页 | 2.80 MB | 1 年前3
 CakePHP Cookbook 3.x
will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 1244 页 | 1.05 MB | 1 年前3 CakePHP Cookbook 3.x
will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 1244 页 | 1.05 MB | 1 年前3
 CakePHP Cookbook 2.x
AppController itself extends the Controller class included in the CakePHP core library. AppController is de- fined in /app/Controller/AppController.php as follows: class AppController extends Controller { } Postal is used to validate ZIP codes from the U.S. (us), Canada (ca), U.K (uk), Italy (it), Germany (de) and Belgium (be). For other ZIP code formats, you may provide a regular expression as the second parameter Array ( [Post] => Array ( [id] => 1 [title] => Beispiel Eintrag [body] => lorem ipsum... [locale] => de_de ) [titleTranslation] => Array ( [0] => Array ( [id] => 1 [locale] => en_us [model] => Post [foreign_key]0 码力 | 820 页 | 2.52 MB | 1 年前3 CakePHP Cookbook 2.x
AppController itself extends the Controller class included in the CakePHP core library. AppController is de- fined in /app/Controller/AppController.php as follows: class AppController extends Controller { } Postal is used to validate ZIP codes from the U.S. (us), Canada (ca), U.K (uk), Italy (it), Germany (de) and Belgium (be). For other ZIP code formats, you may provide a regular expression as the second parameter Array ( [Post] => Array ( [id] => 1 [title] => Beispiel Eintrag [body] => lorem ipsum... [locale] => de_de ) [titleTranslation] => Array ( [0] => Array ( [id] => 1 [locale] => en_us [model] => Post [foreign_key]0 码力 | 820 页 | 2.52 MB | 1 年前3
 CakePHP Cookbook 2.x
Postal is used to validate ZIP codes from the U.S. (us), Canada (ca), U.K (uk), Italy (it), Germany (de) and Belgium (be). For other ZIP code formats, you may provide a regular expression as the second parameter [title] => Beispiel Eintrag [body] => lorem ipsum... [locale] => de_de ) [titleTranslation] => Array ( [0] => Array ( [1] => Array ( [id] => 2 [locale] => de_de [model] => Post [foreign_key] => 1 [field]0 码力 | 1096 页 | 958.62 KB | 1 年前3 CakePHP Cookbook 2.x
Postal is used to validate ZIP codes from the U.S. (us), Canada (ca), U.K (uk), Italy (it), Germany (de) and Belgium (be). For other ZIP code formats, you may provide a regular expression as the second parameter [title] => Beispiel Eintrag [body] => lorem ipsum... [locale] => de_de ) [titleTranslation] => Array ( [0] => Array ( [1] => Array ( [id] => 2 [locale] => de_de [model] => Post [foreign_key] => 1 [field]0 码力 | 1096 页 | 958.62 KB | 1 年前3
共 8 条
- 1














