CakePHP Cookbook 2.x
defining a custom string (or “salt”) for use in security hashes. The second is defining a custom number (or “seed”) for use in encryption. The security salt is used for generating hashes. Change the default correspond to, and the second parameter allows you to specify a wide array of options - in this case, the number of rows for the textarea. There’s a bit of introspection and automagic here: input() will output that both the body and title fields must not be empty. CakePHP’s validation engine is strong, with a number of pre-built rules (credit card numbers, email addresses, etc.) and flexibility for adding your own0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
defining a custom string (or “salt”) for use in security hashes. The second is defining a custom number (or “seed”) for use in encryption. The security salt is used for generating hashes. Change the default correspond to, and the second parameter allows you to specify a wide array of options - in this case, the number of rows for the textarea. There’s a bit of introspection and automagic here: input() will output that both the body and title fields must not be empty. CakePHP’s validation engine is strong, with a number of pre- built rules (credit card numbers, email addresses, etc.) and flexibility for adding your0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook Documentation 5.xPaginating the Same Model multiple Times Control which Fields Used for Ordering Limit the Maximum Number of Rows per Page Out of Range Page Requests Using a paginator class directly Pagination in the View Custom Inflections Number Number Formatting Currency Values Number::currency() Setting the Default Currency Number::setDefaultCurrency() Getting the Default Currency Number::getDefaultCurrency() Point Numbers Number::precision() Formatting Percentages Number::toPercentage() Interacting with Human Readable Values Number::toReadableSize() Formatting Numbers Number::format() Number::ordinal()0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xOrdering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635 Limit the Maximum Number of Rows per Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635 Out of Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 780 36 Number 781 Formatting Currency Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $this->element('user_info', ['user' => $user]) ?> The View layer provides a number of extension points like View Templates, Elements and View Cells to let you re-use your presentation0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 3.x
Paginating the Same Model multiple Times Control which Fields Used for Ordering Limit the Maximum Number of Rows per Page Joining Additional Associations Out of Range Page Requests Pagination in the View Creating Variable Names Creating URL Safe Strings Inflection Configuration Loading Custom Inflections Number Formatting Currency Values Setting the Default Currency Formatting Floating Point Numbers Formatting $this->element('user_info', ['user' => $user]) ?> The View layer provides a number of extension points like View Templates, Elements and View Cells to let you re-use your presentation0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 900 36 Number 901 Formatting Currency Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $this->element('user_info', ['user' => $user]) ?> The View layer provides a number of extension points like View Templates, Elements and View Cells to let you re-use your presentation correspond to, and the second parameter allows you to specify a wide array of options - in this case, the number of rows for the textarea. There’s a bit of introspection and conventions used here. The control()0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
Paginating the Same Model multiple Times Control which Fields Used for Ordering Limit the Maximum Number of Rows per Page Joining Additional Associations Out of Range Page Requests Pagination in the View Custom Inflections Number Number Formatting Currency Values Number::currency() Setting the Default Currency Number::setDefaultCurrency() Getting the Default Currency Number::getDefaultCurrency() Point Numbers Number::precision() Formatting Percentages Number::toPercentage() Interacting with Human Readable Values Number::toReadableSize() Formatting Numbers Number::format() Number::ordinal()0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 892 36 Number 893 Formatting Currency Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $this->element('user_info', ['user' => $user]) ?> The View layer provides a number of extension points like View Templates, Elements and View Cells to let you re-use your presentation correspond to, and the second parameter allows you to specify a wide array of options - in this case, the number of rows for the textarea. There’s a bit of introspection and conventions used here. The control()0 码力 | 967 页 | 2.88 MB | 1 年前3
共 8 条
- 1













