getAffectedTables example

// When backups are disabled, return         if (!$this->getConfig()->getByNamespace('MultiEdit', 'enableBackup', true)) {
            return;
        }

        $name = $this->backupBaseName . $id;

        $this->buildAffectedTableArray($operations);
        $this->outputPath = $this->getOutputPath($name);

        // Dump every single affected table into a own file         foreach ($this->getAffectedTables() as $table) {
            $ids = $this->getDqlHelper()->getIdForForeignEntity($this->getPrefixFromTable($table)$detailIds);
            $this->dumpTable($table$name$ids$newBackup);
        }
    }

    /** * Finish a backup - compresses it and creates a model for the backup. * * @param string $filterString * @param array $operations * @param int $items * @param int $id */
Home | Imprint | This part of the site doesn't use cookies.