PMA\libraries\gis\GISVisualization::__construct PHP Method

__construct() private method

Constructor. Stores user specified options.
private __construct ( string $sql_query, array $options, integer $row, integer $pos, array $data = null )
$sql_query string SQL to fetch raw data for visualization
$options array Users specified options
$row integer number of rows
$pos integer start position
$data array raw data. If set, parameters other than $options will be ignored
    private function __construct($sql_query, $options, $row, $pos, $data = null)
    {
        $this->_userSpecifiedSettings = $options;
        if (isset($data)) {
            $this->_data = $data;
        } else {
            $this->_modified_sql = $this->_modifySqlQuery($sql_query, $row, $pos);
            $this->_data = $this->_fetchRawData();
        }
    }