Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page

Learn how to upgrade to the latest version.

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.