PHP Класс Smile\ElasticsuiteThesaurus\Setup\UpgradeSchema

Автор: Romain Ruaud ([email protected])
Наследование: implements Magento\Framework\Setup\UpgradeSchemaInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
upgrade ( Magento\Framework\Setup\SchemaSetupInterface $setup, Magento\Framework\Setup\ModuleContextInterface $context ) : void Installs DB schema for a module

Приватные методы

Метод Описание
appendIsActiveColumn ( Magento\Framework\Setup\SchemaSetupInterface $setup ) Add an "is_active" column to the Thesaurus table.
createExpandedTermsTable ( Magento\Framework\Setup\SchemaSetupInterface $setup ) Create Relation between Thesaurus and expanded terms (which are also synonyms) link table
createExpansionReferenceTable ( Magento\Framework\Setup\SchemaSetupInterface $setup ) Create Thesaurus/expansion reference terms link table
createThesaurusStoreTable ( Magento\Framework\Setup\SchemaSetupInterface $setup ) Create Thesaurus/store link table
createThesaurusTable ( Magento\Framework\Setup\SchemaSetupInterface $setup ) Create Thesaurus main table

Описание методов

upgrade() публичный Метод

Installs DB schema for a module
public upgrade ( Magento\Framework\Setup\SchemaSetupInterface $setup, Magento\Framework\Setup\ModuleContextInterface $context ) : void
$setup Magento\Framework\Setup\SchemaSetupInterface Setup
$context Magento\Framework\Setup\ModuleContextInterface Context
Результат void