In PrestaShop, the
object is something close to (but unfortunately not as flexible as) a service container (or dependency injection container) that you can have in other frameworks. This container is filled with common objects (such as cookies, current language, and so on), and services (such as Smarty).
In this chapter, we will learn how to:
lmethod and make your module multilingual
addJSmethods to improve the ergonomy in the front office