CakePHP Cookbook 3.x
Articles Create Add Template Adding Simple Slug Generation Add Edit Action Create Edit Template Update Validation Rules for Articles Add Delete Action 3.x Migration Guide 3.10 Migration Guide 3.10 Migration Articles Create Add Template Adding Simple Slug Generation Add Edit Action Create Edit Template Update Validation Rules for Articles Add Delete Action CMS Tutorial - Tags and Users Adding Tagging to Articles Templated Emails Sending Attachments Using Transports Creating Custom Transports Relaxing Address Validation Rules Sending Messages Quickly Sending Emails from CLI Creating Reusable Emails Testing Email0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 822 29 Validation 825 Creating Validators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 835 Core Validation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . entity classes that have not yet been defined. If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\TableRegistry; // Prior to 3.6 use TableRegistry::get('Users')0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
Articles Create Add Template Adding Simple Slug Generation Add Edit Action Create Edit Template Update Validation Rules for Articles Add Delete Action Migration Guides 4.0 Upgrade Guide Fix Deprecation Warnings Articles Create Add Template Adding Simple Slug Generation Add Edit Action Create Edit Template Update Validation Rules for Articles Add Delete Action CMS Tutorial - Tags and Users Adding Tagging to Articles Headers Sending Templated Emails Sending Attachments Mailer::setAttachments() Relaxing Address Validation Rules Sending Messages Quickly Sending Emails from CLI Creating Reusable Emails Configuring Transports0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
Bake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 814 29 Validation 815 Creating Validators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 825 Core Validation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . entity classes that have not yet been defined. If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTabl0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
Adding a layer Create a Post Model Create a Posts Controller Creating Post Views Adding Posts Data Validation Editing Posts Deleting Posts Routes Conclusion Additional Reading Installation Requirements License Associations: Linking Models Together Retrieving Your Data Saving Your Data Deleting Data Data Validation Callback Methods Behaviors DataSources Model Attributes Additional Methods and Properties Virtual Adding a layer Create a Post Model Create a Posts Controller Creating Post Views Adding Posts Data Validation Editing Posts Deleting Posts Routes Conclusion Simple Authentication and Authorization Application0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
and will use the defaults instead. For more on models, such as table prefixes, callbacks, and validation, check out the Models chapter of the Manual. Create a Posts Controller Next, we’ll create a controller some reason it doesn’t save, it just renders the view. This gives us a chance to show the user validation errors or other warnings. Every CakePHP request includes a CakeRequest object which is accessible you can specify a URL for various CakePHP functions. Calling the save() method will check for validation errors and abort the save if any occur. We’ll discuss how those errors are handled in the following0 码力 | 820 页 | 2.52 MB | 1 年前3
Guzzle PHP 5.3 Documentationasynchronous requests using the same interface without requiring a dependency on a specific event loop. • Pluggable HTTP handlers allows Guzzle to integrate with any method you choose for sending HTTP requests over custom SSL certificate on disk. $client->get('/', ['verify' => '/path/to/cert.pem']); // Disable validation entirely (don't do this!). $client->get('/', ['verify' => false]); Not all system’s have a known0 码力 | 63 页 | 275.75 KB | 11 月前3
Guzzle PHP 5.3 Documentationasynchronous requests using the same interface without requiring a dependency on a specific event loop. Pluggable HTTP handlers allows Guzzle to integrate with any method you choose for sending HTTP requests over $client->get('/', ['verify' => '/path/to/cert.pem']); Summary: Types: Default: // Disable validation entirely (don't do this!). $client->get('/', ['verify' => false]); Not all system’s have a known0 码力 | 72 页 | 312.62 KB | 11 月前3
CakePHP Cookbook Documentation 5.xArticles Create Add Template Adding Simple Slug Generation Add Edit Action Create Edit Template Update Validation Rules for Articles Add Delete Action Migration Guides 5.0 Upgrade Guide Fix Deprecation Warnings Articles Create Add Template Adding Simple Slug Generation Add Edit Action Create Edit Template Update Validation Rules for Articles Add Delete Action CMS Tutorial - Tags and Users Adding Tagging to Articles Headers Sending Templated Emails Sending Attachments Mailer::setAttachments() Relaxing Address Validation Rules Sending Emails from CLI Creating Reusable Emails Configuring Transports Mailer::drop Creating0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xBake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710 30 Validation 711 Creating Validators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721 Core Validation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . entity classes that have not yet been defined. If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTabl0 码力 | 848 页 | 2.53 MB | 1 年前3
共 67 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













