W3cubDocs

/CakePHP 3.4

Trait AssociationsNormalizerTrait

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

Direct Users

Method Summary

  • 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()source protected

_normalizeAssociations( array $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 $associations
The array of included associations.

Returns

array
An array having dot notation transformed into nested arrays

© 2005–2017 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/3.4/class-Cake.ORM.AssociationsNormalizerTrait.html