Public and overloadable methods

Table of contents

Public and overloadable methods

PrestaShop makes it possible to override many of its core functions, using overriding. But overriding cannot be done if you do not know which method to replace. This list should help you.

You can learn more about overriding PrestaShop by reading the following articles:

If you do not want to replace a method, but simply add to it, remember to call the parent eponymous method somewhere in your method.

ObjectModelCore (ObjectModel.php)

This is the main object from PrestaShop object model. Any overriding of its methods is bound to influence how all other classes and methods act. Use carefully.

ToolsCore (Tools.php)

This class relates to the PrestaShop set of tools, found in the admin's Tools tab.

AdminTabCore (AdminTab.php)

PDFCode (PDF.php)

ConfigurationCore (Configuration.php)

CookieCore (Cookie.php)

DbCore (Db.php)

LinkCore (Link.php)

MailCore (Mail.php)

FrontControllerCore (FrontController.php)

Last updated