You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

See also: Writing Registry Plugins

Some additional conventions are required when writing a Normalization Plugin.

  1. The name of the Plugin should match the format FooNormalizer.
  2. The Plugin must implement one function, which is defined in Model/FooNormalizer.php.
    1. 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.
  • No labels