/**
  * Constructor
  *
  * @param string $sql_query Query
  * @param string $url_query Query URL
  * @param array  $cfg       Configuration
  */
 public function __construct($sql_query, $url_query, $cfg)
 {
     parent::__construct();
     $this->sql_query = $sql_query;
     $this->url_query = $url_query;
     $this->cfg = $cfg;
 }
 /**
  * Constructor
  *
  * @param string $sql_query             SQL query for retrieving GIS data
  * @param array  $url_params            array of URL parameters
  * @param string $goto                  goto script
  * @param string $back                  back script
  * @param array  $visualizationSettings visualization settings
  */
 public function __construct($sql_query, $url_params, $goto, $back, $visualizationSettings)
 {
     parent::__construct();
     $this->sql_query = $sql_query;
     $this->url_params = $url_params;
     $this->url_params['goto'] = $goto;
     $this->url_params['back'] = $back;
     $this->visualizationSettings = $visualizationSettings;
 }
 /**
  * Constructor
  *
  * @param array  $options_array      Options
  * @param array  $cfgRelation        Config relation
  * @param string $tbl_storage_engine Table storage engine
  * @param array  $existrel           Relations
  * @param array  $existrel_foreign   External relations
  * @param string $disp               Display
  * @param string $upd_query          Update query
  */
 public function __construct($options_array, $cfgRelation, $tbl_storage_engine, $existrel, $existrel_foreign, $disp, $upd_query)
 {
     parent::__construct();
     $this->options_array = $options_array;
     $this->cfgRelation = $cfgRelation;
     $this->tbl_storage_engine = $tbl_storage_engine;
     $this->existrel = $existrel;
     $this->existrel_foreign = $existrel_foreign;
     $this->disp = $disp;
     $this->upd_query = $upd_query;
 }
 /**
  * TableStructureController constructor
  *
  * @param string $type                Indicate the db_structure or tbl_structure
  * @param string $db                  DB name
  * @param string $table               Table name
  * @param string $url_query           URL query
  * @param int    $num_tables          Number of tables
  * @param int    $pos                 Current position in the list
  * @param bool   $db_is_system_schema DB is information_schema
  * @param int    $total_num_tables    Number of tables
  * @param array  $tables              Tables in the DB
  * @param bool   $is_show_stats       Whether stats show or not
  * @param bool   $tbl_is_view         Table is a view
  * @param string $tbl_storage_engine  Table storage engine
  * @param int    $table_info_num_rows Number of rows
  * @param string $tbl_collation       Table collation
  * @param array  $showtable           Show table info
  */
 public function __construct($type, $db, $table, $url_query, $num_tables, $pos, $db_is_system_schema, $total_num_tables, $tables, $is_show_stats, $tbl_is_view, $tbl_storage_engine, $table_info_num_rows, $tbl_collation, $showtable)
 {
     parent::__construct();
     $this->_db_is_system_schema = $db_is_system_schema;
     $this->_url_query = $url_query;
     $this->_tbl_is_view = $tbl_is_view;
     $this->_tbl_storage_engine = $tbl_storage_engine;
     $this->_table_info_num_rows = $table_info_num_rows;
     $this->_tbl_collation = $tbl_collation;
     $this->_showtable = $showtable;
     $this->table_obj = new PMA_Table($this->table, $this->db);
 }
 /**
  * Constructor
  *
  * @param string $db         DB name
  * @param string $table      Table name
  * @param string $searchType Search type
  * @param string $url_query  URL query
  */
 public function __construct($db, $table, $searchType, $url_query)
 {
     parent::__construct();
     $this->url_query = $url_query;
     $this->_searchType = $searchType;
     $this->_columnNames = array();
     $this->_columnNullFlags = array();
     $this->_columnTypes = array();
     $this->_columnCollations = array();
     $this->_geomColumnFlag = false;
     $this->_foreigners = array();
     // Loads table's information
     $this->_loadTableInfo();
     $this->_connectionCharSet = $this->dbi->fetchValue("SHOW VARIABLES LIKE 'character_set_connection'", 0, 1);
 }
 /**
  * Constructor
  *
  * @param PMA_Index $index Index
  */
 public function __construct($index)
 {
     parent::__construct();
     $this->index = $index;
 }