W3cubDocs

/CakePHP 4.1

Trait AssociationsNormalizerTrait

Contains methods for parsing the associated tables array that is typically passed to a save operation

Namespace: Cake\ORM

Method Summary

  • _normalizeAssociations() protected

    Returns an array out of the original passed associations list where dot notation is transformed into nested arrays so that they can be parsed by other routines

Method Detail

_normalizeAssociations() protected

_normalizeAssociations(mixed $associations)

Returns an array out of the original passed associations list where dot notation is transformed into nested arrays so that they can be parsed by other routines

Parameters

array|string $associations

The array of included associations.

Returns

array

An array having dot notation transformed into nested arrays

© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.1/trait-Cake.ORM.AssociationsNormalizerTrait.html