CakePHP Cookbook 3.x
Driver::newTableSchema() was added. This hook method lets you customize which the class used for schema metadata. FunctionBuilder::cast() was added. Query::orderAsc() and Query::orderDesc() now accept Closure’s The controller’s request will be updated with paging parameters. You can access the pagination metadata at $this- >request->getParam('paging'). Simple Pagination By default pagination uses a count() - The context for which the form is being defined. Can be an ORM entity, ORM resultset, array of metadata or false/null (to make a model-less form). $options - An array of options and/or HTML attributes0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
replaced with mock or stub objects. View Context classes now include the comment, null, and default metadata options in the results of attributes(). ViewBuilder::addHelper() now accepts an $options parameter FormHelper::control() will now populate the aria-invalid, aria-required, and aria-describedby attributes based on metadata from the validator. The aria-label attribute will be set if you disable the automatic label element The controller’s request will be updated with paging parameters. You can access the pagination metadata at $this- >request->getAttribute('paging'). Simple Pagination By default pagination uses a count()0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.xfor which the form is being defined. Can be an ORM entity, ORM resultset, Form instance, array of metadata or null (to make a model-less form). $options - An array of options and/or HTML attributes. The case of an ORM backed form, FormHelper can access associated data, validation errors and schema metadata. You can close the active context using the end() method, or by calling create() again. To create will include a wrapping div, label, control widget, and validation error if necessary. By using the metadata in the form context, this method will choose an appropriate control type for each field. Internally0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
Driver::newTableSchema() was added. This hook method lets you customize which the class used for schema metadata. • FunctionBuilder::cast() was added. • Query::orderAsc() and Query::orderDesc() now accept Closure’s The controller’s request will be updated with paging parameters. You can access the pagination metadata at $this->request->getParam('paging'). 324 Chapter 10. Controllers CakePHP Cookbook Documentation - The context for which the form is being defined. Can be an ORM entity, ORM resultset, array of metadata or false/null (to make a model-less form). • $options - An array of options and/or HTML attributes0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.xfor which the form is being defined. Can be an ORM entity, ORM resultset, Form instance, array of metadata or null (to make a model-less form). • $options - An array of options and/or HTML attributes. case of an ORM backed form, FormHelper can access associated data, validation errors and schema metadata. You can close the active context using the end() method, or by calling create() again. To create will include a wrapping div, label, control widget, and validation error if necessary. By using the metadata in the form context, this method will choose an appropriate control type for each field. Internally0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
replaced with mock or stub objects. View • Context classes now include the comment, null, and default metadata options in the results of attributes(). • ViewBuilder::addHelper() now accepts an $options parameter FormHelper::control() will now populate the aria-invalid, aria-required, and aria-describedby attributes based on metadata from the validator. The aria-label attribute will be set if you disable the automatic label element The controller’s request will be updated with paging parameters. You can access the pagination metadata at $this->request->getAttribute('paging'). Simple Pagination By default pagination uses a count()0 码力 | 967 页 | 2.88 MB | 1 年前3
Guzzle PHP 6.5 DocumentationRequest URI Scheme Host Port Path Query string Responses Start-Line Body Streams Creating Streams Metadata Stream Decorators Handlers and Middleware Handlers Middleware HandlerStack Creating a Handler $generator(1024); $stream = Psr7\stream_for($iter); echo $stream->read(3); // ... Metadata Streams expose stream metadata through the getMetadata() method. This method provides the data you would retrieve0 码力 | 65 页 | 311.42 KB | 11 月前3
Guzzle PHP 7.0 DocumentationRequest URI Scheme Host Port Path Query string Responses Start-Line Body Streams Creating Streams Metadata Stream Decorators Handlers and Middleware Handlers Middleware HandlerStack Creating a Handler $generator(1024); $stream = Psr7\stream_for($iter); echo $stream->read(3); // ... Metadata Streams expose stream metadata through the getMetadata() method. This method provides the data you would retrieve0 码力 | 64 页 | 310.93 KB | 11 月前3
Guzzle PHP v5 DocumentationRequest URI Scheme Host Port Path Query string Responses Start-Line Body Streams Creating Streams Metadata Stream Decorators Handlers and Middleware Handlers Middleware HandlerStack Creating a Handler $generator(1024); $stream = Psr7\stream_for($iter); echo $stream->read(3); // ... Metadata Streams expose stream metadata through the getMetadata() method. This method provides the data you would retrieve0 码力 | 62 页 | 309.78 KB | 11 月前3
Guzzle PHP 5.3 DocumentationEvent System Event Emitters Event Priorities Working With Request Events Streams Creating Streams Metadata Stream Decorators RingPHP Handlers Using a handler Creating a handler Testing Guzzle Clients data var_export($stream->eof()); // true var_export($stream->tell()); // 11 Metadata Guzzle streams expose stream metadata through the getMetadata() method. This method provides the data you would retrieve0 码力 | 72 页 | 312.62 KB | 11 月前3
共 53 条
- 1
- 2
- 3
- 4
- 5
- 6













