Notice: You are browsing the documentation for PrestaShop 8, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 1.7.

Helper classes

Helper classes enable you to generate standard HTML elements for legacy back office pages as well as for module configuration pages.

The Main Helpers

All the helper classes inherit from the Helper parent class:

  • HelperForm: used to generate an edition form for an ObjectModel. Example: editing the client’s profile.
  • HelperOptions: used to generate a configuration form, the values of which are stored in the configuration table. Example: the “Preferences” page.
  • HelperList: used to generate a table of elements. The elements can belong to ObjectModel-type objects, but they do not have to. Example: client list, order status list, etc.