Trait AssociationsNormalizerTrait

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

Direct Known Users

Cake\ORM\AssociationCollection, Cake\ORM\Marshaller

Method Detail

_normalizeAssociationssource 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–2016 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.
http://api.cakephp.org/3.1/class-Cake.ORM.AssociationsNormalizerTrait.html