Yii 2.0 权威指南輱 輴 輮 輴 轙 轩 轩 和 轄 软 轣 轫 轥 轲 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輴 輷 輳 輱 輴 輮 輵 国际化(轉 轮 轴 轥 轲 轮 轡 轴 轩 软 轮 轡 转 轩 轺 轡 轴 轩 软 轮 ) 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輮 輴 輷 輵 輱 輴 輮 輶 收发邮件 輮 輮 轌 类和接口7 • 延迟静态绑定8 • 日期和时间9 • 轔 轲 轡 轩 轴 轳 1 0 • 轩 轮 轴 转 1 1 轙 轩 轩 輲 輮 輰 使用 轐 轈 轐 扩展 i n t l 来支持国际化的相关功能。 1 . 2 . 3 命 命 命名 名 名空 空 空间 间 间 轙 轩 轩 輲 輮 輰 里最明显的改动就数命名空间的使用了。几乎每一个核心类都引入 了命名空间, 比如 y i i \ 移除了原来内置的日期格式器和数字格式器,为了支持 轐 轅 轃 轌 轩 轮 轴 转 轐 轈 轐 轭 软 轤 轵 转 轥 1 2 (轐 轈 轐 的国际化扩展)的使用。 消息翻译现在由 i 1 8 n 应用组件执行。 该组件管理一系列消息源, 允许 使用基于消息类别的不同消息源。 更多细节请参阅国际化(轉 轮 轴 轥 轲 轮 轡 轴 轩 软 轮 轡 转 轩 轺 轡 轴 轩 软 轮 )章节。 1 . 2 . 1 5 动 动0 码力 | 537 页 | 4.66 MB | 1 年前3
CakePHP Cookbook Documentation 5.xdisabled by default since 4.1.0. The files data will now always contain UploadedFileInterfaces objects. I18n • FrozenDate was renamed to Date and FrozenTime was renamed to DateTime. • Time now extends Cak this key allows you to override the default model error messages and can be used, for example, to set i18n messages. To disable the error message output & field classes set the 'error' key to false. Defaults set the error message for each validation rule you have in your models. In addition you can provide i18n messages for your forms. To disable the HTML entity encoding for error messages only, the 'escape'0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 3.x
loading plugins, and handling errors for plugins that may not exist because they are dev dependencies. I18n • Number::FORMAT_CURRENCY_ACCOUNTING was added. • Number::CURRENCY_ACCOUNTING was added. • Num FrozenTime, Date and FrozenDate now accepts a callable that can be used to return a custom string. • The i18n global functions now only return strings. The changes made to 4.0 to remove the null return value necessary anymore. This makes it consistent to how Shell classes worked. • The default format for Cake\I18n\Time, FrozenTime, Date, and FrozenDate is now yyyy-MM-dd'T'HH':'mm':'ssxxx which solves localization0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 3.x
Input/Output Option Parsers Shell Helpers Running Shells as Cron Jobs CakePHP Provided Commands Cache Shell I18N Shell Completion Shell Plugin Shell Routes Shell Schema Cache Shell Server Shell Upgrade Shell Shells Internationalization & Localization Setting Up Translations Language Files Extract Pot Files with I18n Shell Setting the Default Locale Changing the Locale at Runtime Using Translation Functions Using loading plugins, and handling errors for plugins that may not exist because they are dev dependencies. I18n Number::FORMAT_CURRENCY_ACCOUNTING was added. Number::CURRENCY_ACCOUNTING was added. Number::get0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
set to Lax by default. Check Session Configuration section for more info. I18n • JSON encoding Cake\I18n\Date and Cake\I18n\FrozenDate objects now results in strings with only the date part, in format replaced the requireSecure feature of SecurityComponent. • Cookies now support the SameSite attribute. I18n • Date and FrozenDate now respect the time zone parameter for various factory helpers like today('Asia/ convenience wrapper around read() operations where you want an exception when the key is missing. I18n • The setJsonEncodeFormat method on Time, FrozenTime, Date and FrozenDate now accepts a callable0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 4.x
Option Parsers Running Shells as Cron Jobs CakePHP Provided Commands Cache Tool Completion Tool I18N Tool Plugin Tool Schema Cache Tool Routes Tool Server Tool Interactive Console (REPL) Shells Routing Internationalization & Localization Setting Up Translations Language Files Extract Pot Files with I18n Shell Setting the Default Locale Changing the Locale at Runtime Using Translation Functions Using attribute set to Lax by default. Check Session Configuration section for more info. I18n JSON encoding Cake\I18n\Date and Cake\I18n\FrozenDate objects now results in strings with only the date part, in format0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.xOption Parsers Running Shells as Cron Jobs CakePHP Provided Commands Cache Tool Completion Tool I18N Tool Plugin Tool Schema Cache Tool Routes Tool Server Tool Interactive Console (REPL) Routing in Internationalization & Localization Setting Up Translations Language Files Extract Pot Files with I18n Shell Setting the Default Locale Changing the Locale at Runtime Using Translation Functions Using disabled by default since 4.1.0. The files data will now always contain UploadedFileInterfaces objects. I18n FrozenDate was renamed to Date and FrozenTime was renamed to DateTime. Time now extends Cake\Chronos\ChronosTime0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 2.x
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 Configuration Additional this key allows you to override the default model error messages and can be used, for example, to set i18n messages. It has a number of suboptions which control the wrapping element, wrapping element class set the error message for each validation rule you have in your models. In addition you can provide i18n messages for your forms. New in version 2.3: Support for the errorMessage option was added in 2.30 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
this key allows you to override the default model error messages and can be used, for example, to set i18n messages. It has a number of suboptions which control the wrapping element, wrapping element class set the error message for each validation rule you have in your models. In addition you can provide i18n messages for your forms. New in version 2.3: Support for the errorMessage option was added in 2.3 Converts a string representing the format for the function strftime and returns a Windows safe and i18n aware format. TimeHelper::dayAsSql($dateString, $field_name, $timezone = NULL) Return type string0 码力 | 820 页 | 2.52 MB | 1 年前3
《Slides Dev Web》02. Introduction aux frameworks PHP
validation et traitement de formulaires • Authenfication, Sessions, Permissions, Roles, ACL • Pagination • I18n • Génération de code • Mail • Connecteurs aux webservices 7https://12factor.net/ 8https://12factor0 码力 | 24 页 | 1.03 MB | 1 年前3
共 11 条
- 1
- 2













