[ Index ]

PHP Cross Reference of phpBB-3.3.0-deutsch

title

Body

[close]

/install/convert/ -> convert.php (source)

   1  <?php
   2  /**
   3   *
   4   * This file is part of the phpBB Forum Software package.
   5   *
   6   * @copyright (c) phpBB Limited <https://www.phpbb.com>
   7   * @license GNU General Public License, version 2 (GPL-2.0)
   8   *
   9   * For full copyright and license information, please see
  10   * the docs/CREDITS.txt file.
  11   *
  12   */
  13  
  14  namespace phpbb\convert;
  15  
  16  /**
  17   * Class holding all convertor-specific details.
  18   *
  19   * WARNING: This file did not meant to be present in a production environment, so moving this file to a location which
  20   *             is accessible after board installation might lead to security issues.
  21   */
  22  class convert
  23  {
  24      var $options = array();
  25  
  26      var $convertor_tag = '';
  27      var $src_dbms = '';
  28      var $src_dbhost = '';
  29      var $src_dbport = '';
  30      var $src_dbuser = '';
  31      var $src_dbpasswd = '';
  32      var $src_dbname = '';
  33      var $src_table_prefix = '';
  34  
  35      var $convertor_data = array();
  36      var $tables = array();
  37      var $config_schema = array();
  38      var $convertor = array();
  39      var $src_truncate_statement = 'DELETE FROM ';
  40      var $truncate_statement = 'DELETE FROM ';
  41  
  42      var $fulltext_search;
  43  
  44      // Batch size, can be adjusted by the conversion file
  45      // For big boards a value of 6000 seems to be optimal
  46      var $batch_size = 2000;
  47      // Number of rows to be inserted at once (extended insert) if supported
  48      // For installations having enough memory a value of 60 may be good.
  49      var $num_wait_rows = 20;
  50  
  51      // Mysqls internal recoding engine messing up with our (better) functions? We at least support more encodings than mysql so should use it in favor.
  52      var $mysql_convert = false;
  53  
  54      var $p_master;
  55  
  56  	function __construct($p_master)
  57      {
  58          $this->p_master = $p_master;
  59      }
  60  }


Generated: Tue Apr 7 19:44:41 2020 Cross-referenced by PHPXref 0.7.1