Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A connector is basically a PHP file containing a PHP class with a set of methods. ConfigBox calls these methods (if they exist) and provide standardized data as parameter to perform various processes. This is done using the observer pattern. Depending on the nature of the task the system calls only the first connector or all connectorsThe methods act as observers to events triggered by the application (observer pattern).

Example connector:

[application dir]/observers/Orders.php

...