public function load($data, $dataType = 'json')
        {
            $this->_data = ($dataType != 'json') ? $this->dataToJson($data) : $data;
        }
public function load($data, $dataType = 'json')
        {
            $this->_data = ($dataType != 'json') ? $this->dataToJson($data) : $data;
        }
public function load ( $ data , $ dataType = 'json' ) { $ this -> _data = ( $ dataType != 'json' ) ? $ this -> dataToJson ( $ data ) : $ data ; }
loads the dataset and converts it to the correct format
loads the dataset and converts it to the correct format