See also: Writing Registry Plugins
Some additional conventions are required when writing a Normalization Plugin.
- The name of the Plugin should match the format
FooNormalizer
. - The Plugin must implement one function, which is defined in
Model/FooNormalizer.php
.normalize()
, which accepts an array of data in typical Cake format and returns an array of normalized data in the same format. This function should be sure to copy any data to the return array that it does not modify, not just normalized data.