![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Setup/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Setup; /** * DB data resource interface for a module * * @api * @since 100.0.2 */ interface ModuleDataSetupInterface extends SetupInterface { const DEFAULT_SETUP_CONNECTION = 'default_setup'; const VERSION_COMPARE_EQUAL = 0; const VERSION_COMPARE_LOWER = -1; const VERSION_COMPARE_GREATER = 1; const TYPE_DATA_INSTALL = 'data-install'; const TYPE_DATA_UPGRADE = 'data-upgrade'; /** * Retrieve row or field from table by id or string and parent id * * @param string $table * @param string $idField * @param string|integer $rowId * @param string|null $field * @param string|null $parentField * @param string|integer $parentId * @return mixed */ public function getTableRow($table, $idField, $rowId, $field = null, $parentField = null, $parentId = 0); /** * Delete table row * * @param string $table * @param string $idField * @param string|int $rowId * @param null|string $parentField * @param int|string $parentId * @return $this */ public function deleteTableRow($table, $idField, $rowId, $parentField = null, $parentId = 0); /** * Update one or more fields of table row * * @param string $table * @param string $idField * @param string|integer $rowId * @param string|array $field * @param mixed|null $value * @param string $parentField * @param string|integer $parentId * @return $this */ public function updateTableRow($table, $idField, $rowId, $field, $value = null, $parentField = null, $parentId = 0); /** * Gets event manager * * @return \Magento\Framework\Event\ManagerInterface */ public function getEventManager(); /** * Gets filesystem * * @return \Magento\Framework\Filesystem */ public function getFilesystem(); /** * Create migration setup * * @param array $data * @return \Magento\Framework\Module\Setup\Migration */ public function createMigrationSetup(array $data = []); /** * Gets setup cache * * @return DataCacheInterface */ public function getSetupCache(); }