PMA\libraries\controllers\table\TableStructureController::__construct PHP Метод

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

TableStructureController constructor
public __construct ( string $type, string $db, string $table, string $url_query, integer $num_tables, integer $pos, boolean $db_is_system_schema, integer $total_num_tables, array $tables, boolean $is_show_stats, boolean $tbl_is_view, string $tbl_storage_engine, integer $table_info_num_rows, string $tbl_collation, array $showtable )
$type string Indicate the db_structure or tbl_structure
$db string DB name
$table string Table name
$url_query string URL query
$num_tables integer Number of tables
$pos integer Current position in the list
$db_is_system_schema boolean DB is information_schema
$total_num_tables integer Number of tables
$tables array Tables in the DB
$is_show_stats boolean Whether stats show or not
$tbl_is_view boolean Table is a view
$tbl_storage_engine string Table storage engine
$table_info_num_rows integer Number of rows
$tbl_collation string Table collation
$showtable array 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 = $this->dbi->getTable($this->db, $this->table);
    }