簡體   English   中英

模塊助手形式的Prestashop Table

[英]Prestashop Table in module helper form

在模塊助手形式中,blocktopmenu.php中有這些說明

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

$ this-> table繼承自Module類

protected $table = 'module';

模塊屬於哪個表? 也用於標識符屬性

就像它說的那樣。

該表是不帶前綴的module ,標識符屬性表示主鍵,即id_module

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM