protected function mapProperty(string $key)
	{
		if (empty($this->_options['datamap']))
		{
			return $key;
		}

		if (isset($this->_options['datamap'][$key]) && ! empty($this->_options['datamap'][$key]))
		{
			return $this->_options['datamap'][$key];
		}

		return $key;
	}
protected function mapProperty(string $key)
	{
		if (empty($this->_options['datamap']))
		{
			return $key;
		}

		if (isset($this->_options['datamap'][$key]) && ! empty($this->_options['datamap'][$key]))
		{
			return $this->_options['datamap'][$key];
		}

		return $key;
	}
protected function mapProperty ( string $ key ) { if ( empty ( $ this -> _options [ 'datamap' ] ) ) { return $ key ; } if ( isset ( $ this -> _options [ 'datamap' ] [ $ key ] ) && ! empty ( $ this -> _options [ 'datamap' ] [ $ key ] ) ) { return $ this -> _options [ 'datamap' ] [ $ key ] ; } return $ key ; }
Checks the datamap to see if this column name is being mapped,
and returns the mapped name, if any, or the original name.

@param string $key

@return mixed|string
Checks the datamap to see if this column name is being mapped and returns the mapped name if any or the original name .