tarek fellah
tarek fellah

Reputation: 367

Prestashop Table in module helper form

In module helper form there is those instructions in blocktopmenu.php

$helper->table = $this->table;
$helper->identifier = $this->identifier;

$this->table is inherited from Module class

protected $table = 'module';

Which table the module belongs to? also for the identifier attribute

Upvotes: 1

Views: 453

Answers (1)

TheDrot
TheDrot

Reputation: 4337

It's just as it says.

The table is module without prefix and identifier attribute means primary key which is id_module.

Upvotes: 2

Related Questions